Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_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.007522/0.007522, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001752/0.001752, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 283 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.2 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 99.94 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.3466/0.5034, allocations: 23.41 MB / 0.7888 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.5143, allocations: 6.474 MB / 0.7951 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.5178, allocations: 103.4 kB / 0.7952 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.5224, allocations: 1.483 MB / 0.7967 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.5275, allocations: 1.935 MB / 0.7985 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.5316, allocations: 1.465 MB / 0.8 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008954/0.5405, allocations: 6.921 MB / 0.8067 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.5521, allocations: 6.943 MB / 0.8135 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007194/0.5593, allocations: 2.881 MB / 0.8163 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006707/0.5661, allocations: 3.474 MB / 0.8197 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.568, allocations: 0.5274 MB / 0.8202 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.5717, allocations: 1.176 MB / 0.8214 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.5754, allocations: 2.464 MB / 0.8238 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005349/0.5808, allocations: 2.53 MB / 0.8263 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.5945, allocations: 8.52 MB / 0.8346 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5945, allocations: 1.344 kB / 0.8346 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5945, allocations: 0 / 0.8346 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003273/0.5949, allocations: 0 / 0.8346 GB, free: 10.83 MB / 0.5919 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.01312/0.608, allocations: 4.432 MB / 0.8389 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.608, allocations: 10.94 kB / 0.8389 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001488/0.6095, allocations: 0.5749 MB / 0.8395 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009288/0.6188, allocations: 1.682 MB / 0.8411 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006787/0.6257, allocations: 2.699 MB / 0.8438 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.626, allocations: 275.7 kB / 0.844 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.6282, allocations: 360.3 kB / 0.8444 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.6455, allocations: 7.483 MB / 0.8517 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.6457, allocations: 11.88 kB / 0.8517 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.647, allocations: 163.9 kB / 0.8518 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006744/0.6477, allocations: 483.3 kB / 0.8523 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.6606, allocations: 5.705 MB / 0.8579 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04228/0.703, allocations: 31.5 MB / 0.8886 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/0.7063, allocations: 2.09 MB / 0.8907 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.7096, allocations: 2.182 MB / 0.8928 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.7098, allocations: 17.25 kB / 0.8928 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.7099, allocations: 55.86 kB / 0.8929 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.497e-06/0.7099, allocations: 0 / 0.8929 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.2722/0.9821, allocations: 77.01 MB / 0.9681 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.9822, allocations: 77.41 kB / 0.9682 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.9847, allocations: 1.677 MB / 0.9698 GB, free: 56 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004033/0.9851, allocations: 65.75 kB / 0.9699 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.9862, allocations: 1.743 MB / 0.9716 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008798/0.9871, allocations: 0.851 MB / 0.9724 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.9881, allocations: 481.2 kB / 0.9728 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.9882, allocations: 305.1 kB / 0.9731 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/0.992, allocations: 2.738 MB / 0.9758 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/0.9961, allocations: 3.32 MB / 0.9791 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008407/1.005, allocations: 6.401 MB / 0.9853 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.005, allocations: 4 kB / 0.9853 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03116/1.036, allocations: 14.68 MB / 0.9996 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/1.036, allocations: 12 kB / 0.9997 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/1.036, allocations: 16 kB / 0.9997 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02831/1.064, allocations: 9.248 MB / 1.009 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.065, allocations: 303.4 kB / 1.009 GB, free: 7.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1123/1.178, allocations: 52.33 MB / 1.06 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.182, allocations: 224 kB / 1.06 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008207/1.183, allocations: 96 kB / 1.06 GB, free: 1.762 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004626/1.188, allocations: 1.587 MB / 1.062 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.189, allocations: 253.5 kB / 1.062 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04606/1.235, allocations: 14.75 MB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.235, allocations: 24 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001251/1.235, allocations: 48 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.75e-05/1.235, allocations: 11.95 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3845/1.62, allocations: 20.52 MB / 1.097 GB, free: 266.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/1.62, allocations: 8.344 kB / 1.097 GB, free: 266.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.621, allocations: 167 kB / 1.097 GB, free: 266.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04563/1.667, allocations: 9.009 MB / 1.106 GB, free: 266.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006188/1.667, allocations: 50 kB / 1.106 GB, free: 266.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07555/1.743, allocations: 51.89 MB / 1.156 GB, free: 245 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.743, allocations: 11.56 kB / 1.156 GB, free: 245 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/1.769, allocations: 14.36 MB / 1.17 GB, free: 238.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.771, allocations: 0.8562 MB / 1.171 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005464/1.772, allocations: 51.81 kB / 1.171 GB, free: 238.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.774, allocations: 215.7 kB / 1.172 GB, free: 237.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001288/1.775, allocations: 233.5 kB / 1.172 GB, free: 237.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.776, allocations: 68 kB / 1.172 GB, free: 237.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001298/1.777, allocations: 1.125 MB / 1.173 GB, free: 236.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.777, allocations: 0 / 1.173 GB, free: 236.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004406/1.781, allocations: 1.617 MB / 1.174 GB, free: 234.9 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02563/1.807, allocations: 14.97 MB / 1.189 GB, free: 219.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01851/1.825, allocations: 10.56 MB / 1.199 GB, free: 209.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.825, allocations: 0.875 kB / 1.199 GB, free: 209.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01474/1.84, allocations: 7.306 MB / 1.207 GB, free: 201.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.844, allocations: 0.5649 MB / 1.207 GB, free: 201.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08245/1.926, allocations: 50.84 MB / 1.257 GB, free: 149.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/1.929, allocations: 3.232 MB / 1.26 GB, free: 146.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009143/1.93, allocations: 391.9 kB / 1.26 GB, free: 145.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.931, allocations: 1.464 MB / 1.262 GB, free: 144.3 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/1.931, allocations: 0 / 1.262 GB, free: 144.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/2.085, allocations: 120.9 MB / 1.38 GB, free: 24.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/16.22, allocations: 10.59 kB / 1.38 GB, free: 24.03 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)