Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 100.9 kB / 16.64 MB, free: 6.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002898/0.002898, allocations: 197.9 kB / 17.57 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 241.3 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8211/0.8211, allocations: 122.9 MB / 414.3 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.4912 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3921, allocations: 77.92 MB / 0.5673 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007825/0.3999, allocations: 6.727 MB / 0.5739 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.4051, allocations: 3.009 MB / 0.5768 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.4059, allocations: 26.06 kB / 0.5769 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.4082, allocations: 0.8992 MB / 0.5777 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.4096, allocations: 464.7 kB / 0.5782 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.4108, allocations: 390.1 kB / 0.5786 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.4125, allocations: 1.233 MB / 0.5798 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.4141, allocations: 0.7289 MB / 0.5805 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.4152, allocations: 476.6 kB / 0.5809 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.4162, allocations: 0.5324 MB / 0.5815 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.4163, allocations: 69.41 kB / 0.5815 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.4175, allocations: 373.3 kB / 0.5819 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.4179, allocations: 311.5 kB / 0.5822 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.4184, allocations: 452.3 kB / 0.5826 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.4197, allocations: 0.9411 MB / 0.5835 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4197, allocations: 0.5938 kB / 0.5835 GB, free: 22.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.4197, allocations: 0 / 0.5835 GB, free: 22.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.4198, allocations: 5.719 kB / 0.5835 GB, free: 22.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001893/0.4217, allocations: 1.164 MB / 0.5847 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4217, allocations: 10.28 kB / 0.5847 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.4233, allocations: 241.1 kB / 0.5849 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.424, allocations: 0.5458 MB / 0.5854 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.4241, allocations: 51.86 kB / 0.5855 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4242, allocations: 61.95 kB / 0.5855 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.4256, allocations: 1.085 MB / 0.5866 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.4256, allocations: 6.844 kB / 0.5866 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.4257, allocations: 31.67 kB / 0.5866 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.4259, allocations: 85.06 kB / 0.5867 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4269, allocations: 0.7487 MB / 0.5875 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004439/0.4314, allocations: 5.893 MB / 0.5932 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.4323, allocations: 0.5554 MB / 0.5938 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.4328, allocations: 333.2 kB / 0.5941 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4328, allocations: 4.062 kB / 0.5941 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4328, allocations: 38.81 kB / 0.5941 GB, free: 13.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/0.4328, allocations: 3.938 kB / 0.5941 GB, free: 13.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003628/0.4365, allocations: 1.985 MB / 0.5961 GB, free: 12.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.4365, allocations: 56.91 kB / 0.5961 GB, free: 12.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.4371, allocations: 0.5578 MB / 0.5967 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.4372, allocations: 37.17 kB / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.4374, allocations: 415.7 kB / 0.5971 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4375, allocations: 171.7 kB / 0.5972 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.4377, allocations: 131.6 kB / 0.5974 GB, free: 11.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.4378, allocations: 373.6 kB / 0.5977 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.4382, allocations: 275.3 kB / 0.598 GB, free: 10.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.4387, allocations: 497.1 kB / 0.5985 GB, free: 10.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.4395, allocations: 0.8128 MB / 0.5993 GB, free: 9.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4395, allocations: 0 / 0.5993 GB, free: 9.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001434/0.4409, allocations: 1.09 MB / 0.6003 GB, free: 8.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4409, allocations: 8 kB / 0.6003 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.441, allocations: 8.875 kB / 0.6003 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006902/0.4417, allocations: 279.2 kB / 0.6006 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.4421, allocations: 127.8 kB / 0.6007 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.4467, allocations: 7.141 MB / 0.6077 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.4474, allocations: 40.02 kB / 0.6077 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.4474, allocations: 32 kB / 0.6078 GB, free: 44 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004351/0.4479, allocations: 253.5 kB / 0.608 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.4481, allocations: 71.16 kB / 0.6081 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.4496, allocations: 0.8885 MB / 0.6089 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4496, allocations: 4 kB / 0.609 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4496, allocations: 4 kB / 0.609 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4496, allocations: 0 / 0.609 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.4524, allocations: 1.724 MB / 0.6106 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4524, allocations: 4.188 kB / 0.6106 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4527, allocations: 67.83 kB / 0.6107 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/0.4534, allocations: 263.2 kB / 0.611 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.4535, allocations: 8 kB / 0.611 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/0.4605, allocations: 7.134 MB / 0.6179 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4605, allocations: 4.031 kB / 0.6179 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4623, allocations: 0.9838 MB / 0.6189 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.4627, allocations: 196.2 kB / 0.6191 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.4629, allocations: 11.94 kB / 0.6191 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.4634, allocations: 35.91 kB / 0.6191 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4635, allocations: 43.94 kB / 0.6192 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.4636, allocations: 12 kB / 0.6192 GB, free: 3.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005488/0.4641, allocations: 383.1 kB / 0.6196 GB, free: 3.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4641, allocations: 0 / 0.6196 GB, free: 3.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009807/0.4651, allocations: 228 kB / 0.6198 GB, free: 3.004 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.4653, allocations: 115.2 kB / 0.6199 GB, free: 2.879 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.4676, allocations: 1.338 MB / 0.6212 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4676, allocations: 4.125 kB / 0.6212 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.4689, allocations: 0.8892 MB / 0.6221 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4701, allocations: 217.8 kB / 0.6223 GB, free: 348 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.4735, allocations: 1.705 MB / 0.6239 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/0.4744, allocations: 1.009 MB / 0.6249 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.4745, allocations: 47.42 kB / 0.625 GB, free: 13.5 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4745, allocations: 0 / 0.625 GB, free: 13.5 MB / 478.1 MB Notification: Performance of Templates: time 0.02767/0.5022, allocations: 20.63 MB / 0.6451 GB, free: 8.938 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)