Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 100.4 kB / 15.05 MB, free: 1.105 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.0009574/0.0009576, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.758/1.758, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.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.0005746/0.0005746, allocations: 15.12 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6991, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03376/0.7329, allocations: 30.68 MB / 0.7579 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.7528, allocations: 11.03 MB / 0.7687 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/0.757, allocations: 131.2 kB / 0.7688 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.7599, allocations: 0.7066 MB / 0.7695 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008645/0.7686, allocations: 1.324 MB / 0.7708 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.7749, allocations: 1.46 MB / 0.7722 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.7849, allocations: 3.878 MB / 0.776 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02223/0.8072, allocations: 12.56 MB / 0.7883 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.8129, allocations: 2.285 MB / 0.7905 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005414/0.8184, allocations: 2.371 MB / 0.7928 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.8197, allocations: 328 kB / 0.7931 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.8228, allocations: 0.8193 MB / 0.7939 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.8257, allocations: 2.249 MB / 0.7961 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.8278, allocations: 1.108 MB / 0.7972 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.8397, allocations: 9.773 MB / 0.8068 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8398, allocations: 4 kB / 0.8068 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.948e-06/0.8398, allocations: 0 / 0.8068 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004776/0.8403, allocations: 4 kB / 0.8068 GB, free: 10.48 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01325/0.8535, allocations: 4.679 MB / 0.8113 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.8536, allocations: 12.03 kB / 0.8114 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/0.8603, allocations: 1.035 MB / 0.8124 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008878/0.8692, allocations: 3.196 MB / 0.8155 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/0.8696, allocations: 415.1 kB / 0.8159 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.8712, allocations: 0.5349 MB / 0.8164 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.8894, allocations: 8.989 MB / 0.8252 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.8896, allocations: 27.77 kB / 0.8252 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005468/0.8902, allocations: 232 kB / 0.8254 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003909/0.8906, allocations: 354.7 kB / 0.8258 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.9048, allocations: 6.779 MB / 0.8324 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05058/0.9554, allocations: 40.17 MB / 0.8716 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.9593, allocations: 3.091 MB / 0.8746 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.9594, allocations: 22 kB / 0.8747 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.9594, allocations: 60.48 kB / 0.8747 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=179): time 3.437e-06/0.9594, allocations: 0 / 0.8747 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=182): time 0.02559/0.985, allocations: 9.862 MB / 0.8844 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.9852, allocations: 73.41 kB / 0.8844 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.9879, allocations: 1.511 MB / 0.8859 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.9881, allocations: 57.7 kB / 0.886 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.99, allocations: 2.257 MB / 0.8882 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007793/0.9908, allocations: 0.6277 MB / 0.8888 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.9909, allocations: 44 kB / 0.8888 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.9912, allocations: 394.4 kB / 0.8892 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.9928, allocations: 1.172 MB / 0.8903 GB, free: 384 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.995, allocations: 1.862 MB / 0.8922 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.9973, allocations: 1.513 MB / 0.8936 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/0.9973, allocations: 4 kB / 0.8936 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008336/1.006, allocations: 4.559 MB / 0.8981 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/1.006, allocations: 16 kB / 0.8981 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/1.006, allocations: 20.09 kB / 0.8981 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/1.01, allocations: 1.588 MB / 0.8997 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.011, allocations: 359.3 kB / 0.9 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.596/1.607, allocations: 17.67 MB / 0.9173 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.61, allocations: 120.8 kB / 0.9174 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/1.61, allocations: 98.16 kB / 0.9175 GB, free: 151.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004412/1.614, allocations: 1.89 MB / 0.9193 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/1.615, allocations: 230 kB / 0.9195 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006934/1.622, allocations: 4.083 MB / 0.9235 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.622, allocations: 15.72 kB / 0.9235 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.622, allocations: 15.84 kB / 0.9236 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.622, allocations: 7.594 kB / 0.9236 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/1.637, allocations: 9.437 MB / 0.9328 GB, free: 145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.637, allocations: 3.969 kB / 0.9328 GB, free: 145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/1.638, allocations: 178 kB / 0.933 GB, free: 145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.641, allocations: 1.364 MB / 0.9343 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.641, allocations: 35.06 kB / 0.9343 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/1.658, allocations: 16.56 MB / 0.9505 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.658, allocations: 7.938 kB / 0.9505 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006028/1.664, allocations: 4.347 MB / 0.9548 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.666, allocations: 0.5291 MB / 0.9553 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.666, allocations: 36 kB / 0.9553 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/1.667, allocations: 87.89 kB / 0.9554 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/1.667, allocations: 165.7 kB / 0.9555 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/1.667, allocations: 48 kB / 0.9556 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001231/1.669, allocations: 0.989 MB / 0.9566 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.669, allocations: 3.938 kB / 0.9566 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00388/1.673, allocations: 0.9844 MB / 0.9575 GB, free: 124.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003983/1.673, allocations: 153 kB / 0.9577 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006684/1.68, allocations: 4.282 MB / 0.9618 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.68, allocations: 0 / 0.9618 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/1.683, allocations: 2.666 MB / 0.9645 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/1.686, allocations: 0.6827 MB / 0.9651 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/1.701, allocations: 10.53 MB / 0.9754 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.705, allocations: 3.66 MB / 0.979 GB, free: 102.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001488/1.706, allocations: 467.9 kB / 0.9794 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.706, allocations: 115.4 kB / 0.9795 GB, free: 101.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.152e-06/1.706, allocations: 0 / 0.9795 GB, free: 101.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.06398/1.77, allocations: 40.8 MB / 1.019 GB, free: 61.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: