Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009262/0.009263, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006136/0.0006136, allocations: 15.38 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3413, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005993/0.3474, allocations: 4.024 MB / 0.7918 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005219/0.3526, allocations: 3.192 MB / 0.7949 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006435/0.3533, allocations: 11.94 kB / 0.7949 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3545, allocations: 167.1 kB / 0.7951 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.356, allocations: 350.5 kB / 0.7954 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3571, allocations: 231.5 kB / 0.7957 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3585, allocations: 0.7906 MB / 0.7964 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.3604, allocations: 0.8216 MB / 0.7972 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.361, allocations: 231 kB / 0.7975 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.3616, allocations: 255 kB / 0.7977 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.3616, allocations: 16 kB / 0.7977 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.3624, allocations: 323.4 kB / 0.798 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3625, allocations: 127.6 kB / 0.7981 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.3628, allocations: 228.5 kB / 0.7984 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008267/0.3636, allocations: 0.7438 MB / 0.7991 GB, free: 36 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3637, allocations: 7.922 kB / 0.7991 GB, free: 28 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3637, allocations: 0 / 0.7991 GB, free: 28 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.3637, allocations: 4 kB / 0.7991 GB, free: 24 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001394/0.3651, allocations: 0.6858 MB / 0.7998 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3652, allocations: 8.031 kB / 0.7998 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.3681, allocations: 0.6711 MB / 0.8004 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.369, allocations: 439.8 kB / 0.8008 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.3691, allocations: 29.02 kB / 0.8009 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.3692, allocations: 32.12 kB / 0.8009 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3709, allocations: 0.7825 MB / 0.8017 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3709, allocations: 7.906 kB / 0.8017 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.371, allocations: 15.94 kB / 0.8017 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.3711, allocations: 44.61 kB / 0.8017 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.3733, allocations: 0.8765 MB / 0.8026 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.3776, allocations: 2.812 MB / 0.8053 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.3793, allocations: 0.5175 MB / 0.8058 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.38, allocations: 264.9 kB / 0.8061 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3802, allocations: 93.03 kB / 0.8062 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3802, allocations: 34.56 kB / 0.8062 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 4.639e-06/0.3802, allocations: 0 / 0.8062 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01161/0.3918, allocations: 3.107 MB / 0.8093 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.392, allocations: 55.41 kB / 0.8093 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/0.3926, allocations: 405.6 kB / 0.8097 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.3926, allocations: 25.7 kB / 0.8097 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3928, allocations: 243.7 kB / 0.8099 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.3929, allocations: 82.83 kB / 0.81 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.393, allocations: 33.7 kB / 0.8101 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3932, allocations: 342.8 kB / 0.8104 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/0.3941, allocations: 359.5 kB / 0.8107 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009334/0.3951, allocations: 433 kB / 0.8111 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3969, allocations: 0.7661 MB / 0.8119 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3969, allocations: 4 kB / 0.8119 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005237/0.4022, allocations: 1.522 MB / 0.8134 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.4023, allocations: 144 kB / 0.8135 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4023, allocations: 0 / 0.8135 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/0.4062, allocations: 0.8208 MB / 0.8143 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.4069, allocations: 131.8 kB / 0.8144 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.4137, allocations: 4.544 MB / 0.8189 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/0.4145, allocations: 111.9 kB / 0.819 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.4146, allocations: 23.98 kB / 0.819 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.4146, allocations: 4 kB / 0.819 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004324/0.419, allocations: 1.245 MB / 0.8202 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.419, allocations: 4 kB / 0.8202 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.4216, allocations: 0.5393 MB / 0.8208 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.4223, allocations: 139.8 kB / 0.8209 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.4272, allocations: 2.697 MB / 0.8235 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/0.428, allocations: 103.9 kB / 0.8236 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.428, allocations: 20.05 kB / 0.8236 GB, free: 5.895 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000466/0.4285, allocations: 320.9 kB / 0.824 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.4286, allocations: 31.62 kB / 0.824 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/0.4333, allocations: 1.402 MB / 0.8254 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.4334, allocations: 8 kB / 0.8254 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4334, allocations: 144 / 0.8254 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4334, allocations: 7.922 kB / 0.8254 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/0.4392, allocations: 2.028 MB / 0.8273 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.4393, allocations: 4.031 kB / 0.8274 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.4397, allocations: 87.89 kB / 0.8274 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003433/0.4431, allocations: 0.7583 MB / 0.8282 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.4432, allocations: 8 kB / 0.8282 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.4493, allocations: 4.364 MB / 0.8324 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.4493, allocations: 4.031 kB / 0.8325 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.4539, allocations: 1.416 MB / 0.8338 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.4543, allocations: 164.6 kB / 0.834 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.4544, allocations: 15.92 kB / 0.834 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.455, allocations: 95.86 kB / 0.8341 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.4552, allocations: 15.97 kB / 0.8341 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.4553, allocations: 15.98 kB / 0.8341 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004364/0.4557, allocations: 299.1 kB / 0.8344 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4557, allocations: 0 / 0.8344 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009615/0.4567, allocations: 196 kB / 0.8346 GB, free: 10.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.4569, allocations: 115.1 kB / 0.8347 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004572/0.4615, allocations: 1.734 MB / 0.8364 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4615, allocations: 0 / 0.8364 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.4629, allocations: 0.6378 MB / 0.837 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.4638, allocations: 123.4 kB / 0.8371 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.4664, allocations: 1.236 MB / 0.8383 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.4671, allocations: 0.9093 MB / 0.8392 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006195/0.4677, allocations: 151.2 kB / 0.8394 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4679, allocations: 39.41 kB / 0.8394 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of SimCode: time 1.393e-06/0.4679, allocations: 0 / 0.8394 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of Templates: time 0.02138/0.4893, allocations: 11.67 MB / 0.8508 GB, free: 9.598 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: