Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008975, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008823/0.0008823, allocations: 168.7 kB / 15.95 MB, free: 204 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.73/1.73, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.755/1.755, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005341/0.0005342, allocations: 15.19 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0231/0.2781, allocations: 21.28 MB / 0.8082 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.2896, allocations: 6.253 MB / 0.8143 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.2926, allocations: 79.5 kB / 0.8144 GB, free: 164 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.2944, allocations: 452.6 kB / 0.8148 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004532/0.299, allocations: 1.544 MB / 0.8163 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.3033, allocations: 0.912 MB / 0.8172 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.3148, allocations: 8.213 MB / 0.8252 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.3274, allocations: 7.089 MB / 0.8321 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.3326, allocations: 2.144 MB / 0.8342 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005685/0.3383, allocations: 3.131 MB / 0.8373 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008901/0.3392, allocations: 244 kB / 0.8375 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.3414, allocations: 0.5853 MB / 0.8381 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00253/0.344, allocations: 2.108 MB / 0.8402 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.3454, allocations: 0.8433 MB / 0.841 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.3526, allocations: 7.013 MB / 0.8478 GB, free: 13.76 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3526, allocations: 0 / 0.8478 GB, free: 13.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.897e-06/0.3526, allocations: 4 kB / 0.8478 GB, free: 13.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001866/0.3528, allocations: 0 / 0.8478 GB, free: 13.75 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006951/0.3598, allocations: 3.605 MB / 0.8514 GB, free: 10.08 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3599, allocations: 12.03 kB / 0.8514 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001036/0.3609, allocations: 0.5712 MB / 0.8519 GB, free: 9.488 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007625/0.3685, allocations: 1.691 MB / 0.8536 GB, free: 7.789 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.373, allocations: 2.497 MB / 0.856 GB, free: 5.238 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.3732, allocations: 279.3 kB / 0.8563 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006494/0.3739, allocations: 359.8 kB / 0.8566 GB, free: 4.613 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3856, allocations: 7.451 MB / 0.8639 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/0.3857, allocations: 19.88 kB / 0.8639 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.3861, allocations: 159.9 kB / 0.8641 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005487/0.3866, allocations: 487.3 kB / 0.8645 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008775/0.3954, allocations: 5.677 MB / 0.8701 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.4283, allocations: 31.69 MB / 0.901 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.4311, allocations: 2.077 MB / 0.9031 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.4339, allocations: 2.174 MB / 0.9052 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.4341, allocations: 17.31 kB / 0.9052 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4341, allocations: 47.86 kB / 0.9052 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.757e-06/0.4341, allocations: 0 / 0.9052 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.6948/1.129, allocations: 75.25 MB / 0.9787 GB, free: 95.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/1.129, allocations: 77.41 kB / 0.9788 GB, free: 95.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/1.131, allocations: 1.646 MB / 0.9804 GB, free: 93.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003907/1.132, allocations: 65.7 kB / 0.9805 GB, free: 93.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007665/1.133, allocations: 1.746 MB / 0.9822 GB, free: 92.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/1.134, allocations: 0.8578 MB / 0.983 GB, free: 91.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/1.134, allocations: 48 kB / 0.9831 GB, free: 91.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.134, allocations: 419.2 kB / 0.9835 GB, free: 90.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/1.137, allocations: 2.718 MB / 0.9861 GB, free: 88.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/1.141, allocations: 3.316 MB / 0.9894 GB, free: 84.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/1.144, allocations: 3.055 MB / 0.9923 GB, free: 81.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/1.144, allocations: 8 kB / 0.9923 GB, free: 81.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02611/1.17, allocations: 14.65 MB / 1.007 GB, free: 66.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/1.17, allocations: 15.83 kB / 1.007 GB, free: 66.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.17, allocations: 16 kB / 1.007 GB, free: 66.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02444/1.195, allocations: 9.243 MB / 1.016 GB, free: 57.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.196, allocations: 295.5 kB / 1.016 GB, free: 57.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06443/1.26, allocations: 47.06 MB / 1.062 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/1.264, allocations: 223.7 kB / 1.062 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/1.264, allocations: 100 kB / 1.062 GB, free: 9.004 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003517/1.268, allocations: 1.582 MB / 1.064 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000756/1.269, allocations: 245.1 kB / 1.064 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03021/1.299, allocations: 14.71 MB / 1.078 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.973e-05/1.299, allocations: 30.83 kB / 1.078 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001951/1.299, allocations: 44 kB / 1.078 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.448e-05/1.299, allocations: 12.83 kB / 1.078 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04606/1.345, allocations: 20.48 MB / 1.098 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/1.345, allocations: 11.94 kB / 1.098 GB, free: 3.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008295/1.346, allocations: 163.7 kB / 1.099 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.029/1.375, allocations: 8.995 MB / 1.107 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006483/1.376, allocations: 48 kB / 1.107 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0823/1.458, allocations: 46.69 MB / 1.153 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/1.458, allocations: 11.94 kB / 1.153 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03308/1.491, allocations: 14.33 MB / 1.167 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/1.495, allocations: 0.8472 MB / 1.168 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009717/1.496, allocations: 48 kB / 1.168 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/1.499, allocations: 211.7 kB / 1.168 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/1.5, allocations: 241.5 kB / 1.168 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004322/1.501, allocations: 68 kB / 1.168 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002719/1.503, allocations: 1.106 MB / 1.17 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.61e-07/1.503, allocations: 0 / 1.17 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007171/1.511, allocations: 1.617 MB / 1.171 GB, free: 8.297 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03189/1.543, allocations: 14.95 MB / 1.186 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02432/1.567, allocations: 10.32 MB / 1.196 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/1.567, allocations: 8.25 kB / 1.196 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0181/1.585, allocations: 7.154 MB / 1.203 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/1.589, allocations: 0.506 MB / 1.203 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08175/1.671, allocations: 35.92 MB / 1.238 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007091/1.678, allocations: 3.22 MB / 1.241 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001622/1.68, allocations: 399.3 kB / 1.242 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/1.683, allocations: 1.487 MB / 1.243 GB, free: 12.66 MB / 0.92 GB Notification: Performance of SimCode: time 3.156e-06/1.683, allocations: 0 / 1.243 GB, free: 12.66 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7629/2.446, allocations: 112.4 MB / 1.353 GB, free: 263.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/2.446, allocations: 240.5 kB / 1.353 GB, free: 263.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/6.623, allocations: 64 / 1.353 GB, free: 263.3 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: