Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 117.7 kB / 16.38 MB, free: 6.012 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.001495/0.001495, allocations: 192.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.785/1.785, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001463/0.001464, allocations: 68.11 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2194, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3969/0.6163, allocations: 37.8 MB / 0.8217 GB, free: 27.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01881/0.6352, allocations: 11.08 MB / 0.8325 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005143/0.6404, allocations: 156.4 kB / 0.8327 GB, free: 19.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.6529, allocations: 4.343 MB / 0.8369 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008178/0.6611, allocations: 2.218 MB / 0.8391 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007347/0.6685, allocations: 2.173 MB / 0.8412 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01388/0.6824, allocations: 9.277 MB / 0.8503 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0228/0.7053, allocations: 11.37 MB / 0.8614 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.7161, allocations: 3.996 MB / 0.8653 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/0.7254, allocations: 4.507 MB / 0.8697 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004155/0.7297, allocations: 0.8268 MB / 0.8705 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006991/0.7367, allocations: 1.587 MB / 0.872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007008/0.7437, allocations: 3.151 MB / 0.8751 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009982/0.7537, allocations: 3.657 MB / 0.8787 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.7728, allocations: 12.3 MB / 0.8907 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.7729, allocations: 0 / 0.8907 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7729, allocations: 0 / 0.8907 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005827/0.7735, allocations: 0 / 0.8907 GB, free: 14.13 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01876/0.7923, allocations: 6.334 MB / 0.8969 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7923, allocations: 8.031 kB / 0.8969 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/0.7989, allocations: 1.067 MB / 0.8979 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/0.8072, allocations: 3.602 MB / 0.9014 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/0.8076, allocations: 423.8 kB / 0.9018 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.8096, allocations: 0.5394 MB / 0.9024 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.8307, allocations: 9.385 MB / 0.9115 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/0.831, allocations: 23.72 kB / 0.9116 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001619/0.8326, allocations: 247.9 kB / 0.9118 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006305/0.8333, allocations: 418.9 kB / 0.9122 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.8488, allocations: 7.123 MB / 0.9192 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/0.8977, allocations: 41 MB / 0.9592 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/0.9028, allocations: 3.112 MB / 0.9622 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/0.906, allocations: 2.137 MB / 0.9643 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.9062, allocations: 22 kB / 0.9643 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/0.9063, allocations: 68.56 kB / 0.9644 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=209): time 3.727e-06/0.9063, allocations: 0 / 0.9644 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=212): time 0.02609/0.9324, allocations: 10.56 MB / 0.9747 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.9325, allocations: 79.31 kB / 0.9748 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.9358, allocations: 2.002 MB / 0.9768 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003866/0.9362, allocations: 65.7 kB / 0.9768 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.9378, allocations: 2.404 MB / 0.9792 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009227/0.9387, allocations: 0.7318 MB / 0.9799 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.9398, allocations: 485.2 kB / 0.9803 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.9399, allocations: 301.1 kB / 0.9806 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.9418, allocations: 1.368 MB / 0.982 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.9446, allocations: 2.112 MB / 0.984 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/0.9503, allocations: 3.762 MB / 0.9877 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.9503, allocations: 8 kB / 0.9877 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008865/0.9592, allocations: 5.069 MB / 0.9927 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.9593, allocations: 16.78 kB / 0.9927 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.9593, allocations: 24.09 kB / 0.9927 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/0.9628, allocations: 1.58 MB / 0.9942 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.9647, allocations: 455.2 kB / 0.9947 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/0.9884, allocations: 18.57 MB / 1.013 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.9912, allocations: 151.8 kB / 1.013 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.9916, allocations: 108 kB / 1.013 GB, free: 11.16 MB / 0.8106 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004072/0.9957, allocations: 1.942 MB / 1.015 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/0.9965, allocations: 284.7 kB / 1.015 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00762/1.004, allocations: 4.455 MB / 1.02 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.004, allocations: 20 kB / 1.02 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.004, allocations: 20 kB / 1.02 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/1.004, allocations: 7.969 kB / 1.02 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.022, allocations: 9.657 MB / 1.029 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.022, allocations: 4 kB / 1.029 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.024, allocations: 239.6 kB / 1.029 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/1.027, allocations: 1.43 MB / 1.031 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003298/1.027, allocations: 40 kB / 1.031 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/1.05, allocations: 18.57 MB / 1.049 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.05, allocations: 7.938 kB / 1.049 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007444/1.057, allocations: 4.546 MB / 1.053 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.059, allocations: 0.6303 MB / 1.054 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/1.06, allocations: 43.94 kB / 1.054 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.061, allocations: 115.9 kB / 1.054 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/1.061, allocations: 181.6 kB / 1.054 GB, free: 124 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.062, allocations: 60 kB / 1.054 GB, free: 64 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001878/1.063, allocations: 1.311 MB / 1.056 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.063, allocations: 0 / 1.056 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003521/1.067, allocations: 1.145 MB / 1.057 GB, free: 13.59 MB / 0.8575 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/1.067, allocations: 171 kB / 1.057 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007742/1.075, allocations: 4.712 MB / 1.061 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.075, allocations: 7.859 kB / 1.061 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/1.08, allocations: 2.907 MB / 1.064 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.085, allocations: 0.8951 MB / 1.065 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.104, allocations: 10.05 MB / 1.075 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005376/1.109, allocations: 3.788 MB / 1.079 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/1.11, allocations: 159.4 kB / 1.079 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/1.11, allocations: 0 / 1.079 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of Templates: time 0.5511/1.661, allocations: 171.8 MB / 1.247 GB, free: 215.1 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)