Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009855/0.0009857, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007115/0.007116, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 7.469 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3555, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007699/0.3633, allocations: 6.319 MB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005021/0.3683, allocations: 3.005 MB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/0.3691, allocations: 23.81 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.3696, allocations: 134.8 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.371, allocations: 477.7 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3721, allocations: 386.8 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3738, allocations: 1.591 MB / 1.086 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.3756, allocations: 1.012 MB / 1.087 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.3763, allocations: 394.3 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.3769, allocations: 498 kB / 1.088 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.391e-05/0.377, allocations: 36 kB / 1.088 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007943/0.3778, allocations: 443.1 kB / 1.088 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.3781, allocations: 267.2 kB / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.3785, allocations: 431.5 kB / 1.089 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3797, allocations: 1.184 MB / 1.09 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3797, allocations: 3.938 kB / 1.09 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3797, allocations: 0 / 1.09 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3797, allocations: 3.938 kB / 1.09 GB, free: 7.328 MB / 0.8419 GB 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.001657/0.3814, allocations: 0.9973 MB / 1.091 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3814, allocations: 8.031 kB / 1.091 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.383, allocations: 251.5 kB / 1.091 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.3837, allocations: 0.5413 MB / 1.092 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.3838, allocations: 53.67 kB / 1.092 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3839, allocations: 60.36 kB / 1.092 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.3854, allocations: 1.085 MB / 1.093 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.3854, allocations: 11.92 kB / 1.093 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.3855, allocations: 31.98 kB / 1.093 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.3857, allocations: 81.27 kB / 1.093 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3868, allocations: 0.7504 MB / 1.094 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.3919, allocations: 5.897 MB / 1.099 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.3929, allocations: 0.5616 MB / 1.1 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.3933, allocations: 326 kB / 1.1 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.3934, allocations: 8.438 kB / 1.1 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3934, allocations: 39 kB / 1.1 GB, free: 12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.3934, allocations: 3.938 kB / 1.1 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003908/0.3974, allocations: 1.994 MB / 1.102 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3974, allocations: 59.83 kB / 1.102 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.398, allocations: 0.5546 MB / 1.103 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.3981, allocations: 33.7 kB / 1.103 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.3984, allocations: 418.9 kB / 1.103 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3985, allocations: 173.6 kB / 1.103 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.3986, allocations: 57.69 kB / 1.104 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3988, allocations: 378.7 kB / 1.104 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.3992, allocations: 277.8 kB / 1.104 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.3997, allocations: 493 kB / 1.105 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4007, allocations: 0.8016 MB / 1.105 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4007, allocations: 4 kB / 1.105 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001787/0.4025, allocations: 1.086 MB / 1.106 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4026, allocations: 8 kB / 1.106 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4026, allocations: 4 kB / 1.106 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008552/0.4034, allocations: 279.9 kB / 1.107 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.4039, allocations: 123.8 kB / 1.107 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.4103, allocations: 6.626 MB / 1.113 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.4111, allocations: 35.95 kB / 1.113 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.4112, allocations: 35.94 kB / 1.113 GB, free: 13.69 MB / 0.8731 GB 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.0004639/0.4116, allocations: 257.5 kB / 1.114 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4118, allocations: 71.16 kB / 1.114 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4134, allocations: 0.8925 MB / 1.115 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4135, allocations: 4 kB / 1.115 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4135, allocations: 4 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4135, allocations: 3.984 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.4161, allocations: 1.717 MB / 1.116 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4161, allocations: 7.938 kB / 1.116 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.4163, allocations: 59.95 kB / 1.116 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.4171, allocations: 263.2 kB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4171, allocations: 8 kB / 1.117 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005907/0.4231, allocations: 6.592 MB / 1.123 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.4231, allocations: 11.92 kB / 1.123 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.4247, allocations: 0.9837 MB / 1.124 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.425, allocations: 188.2 kB / 1.124 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.4251, allocations: 23.88 kB / 1.124 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.4255, allocations: 27.95 kB / 1.124 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4256, allocations: 43.89 kB / 1.124 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.4257, allocations: 16 kB / 1.124 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004776/0.4261, allocations: 387.1 kB / 1.125 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.883e-06/0.4262, allocations: 0 / 1.125 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008772/0.427, allocations: 223.9 kB / 1.125 GB, free: 1.215 MB / 0.8731 GB 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.0001684/0.4272, allocations: 119.9 kB / 1.125 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.4291, allocations: 1.268 MB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4291, allocations: 0 / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.4303, allocations: 0.8894 MB / 1.127 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4315, allocations: 200 kB / 1.127 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.4337, allocations: 1.668 MB / 1.129 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.4342, allocations: 1.005 MB / 1.13 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.4346, allocations: 114 kB / 1.13 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.4348, allocations: 43.44 kB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/0.4348, allocations: 3.938 kB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.01851/0.4533, allocations: 10.6 MB / 1.14 GB, free: 1.242 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)