Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001435/0.001435, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002254/0.002254, allocations: 195.8 kB / 16.25 MB, free: 6.629 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 282.8 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 95.89 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1865, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03167/0.2182, allocations: 26.42 MB / 0.7055 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.233, allocations: 8.007 MB / 0.7134 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.236, allocations: 107.4 kB / 0.7135 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007204/0.2432, allocations: 2.58 MB / 0.716 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.2483, allocations: 1.458 MB / 0.7174 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.2537, allocations: 1.526 MB / 0.7189 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009251/0.263, allocations: 6.162 MB / 0.7249 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.2771, allocations: 8.963 MB / 0.7337 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.2818, allocations: 2.609 MB / 0.7362 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004836/0.2867, allocations: 2.975 MB / 0.7391 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001658/0.2884, allocations: 0.5078 MB / 0.7396 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.2921, allocations: 1.283 MB / 0.7409 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003492/0.2956, allocations: 2.047 MB / 0.7429 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005694/0.3013, allocations: 2.381 MB / 0.7452 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3119, allocations: 8.074 MB / 0.7531 GB, free: 5.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3119, allocations: 3.938 kB / 0.7531 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/0.312, allocations: 0 / 0.7531 GB, free: 5.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002373/0.3122, allocations: 0 / 0.7531 GB, free: 5.586 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009556/0.3218, allocations: 4.228 MB / 0.7572 GB, free: 1.293 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3218, allocations: 8.031 kB / 0.7572 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008221/0.3227, allocations: 0.5421 MB / 0.7578 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.3268, allocations: 0.7963 MB / 0.7585 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.3314, allocations: 2.428 MB / 0.7609 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.3317, allocations: 275.6 kB / 0.7612 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007447/0.3324, allocations: 376.4 kB / 0.7615 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009959/0.3424, allocations: 5.996 MB / 0.7674 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-05/0.3425, allocations: 19.78 kB / 0.7674 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.3429, allocations: 156 kB / 0.7675 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005722/0.3434, allocations: 282.9 kB / 0.7678 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007218/0.3507, allocations: 4.524 MB / 0.7722 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.391/0.7417, allocations: 27.65 MB / 0.7992 GB, free: 65.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.7437, allocations: 1.123 MB / 0.8003 GB, free: 64.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.7452, allocations: 1.014 MB / 0.8013 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.7453, allocations: 14.83 kB / 0.8013 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.7454, allocations: 50.91 kB / 0.8014 GB, free: 64.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.7454, allocations: 0 / 0.8014 GB, free: 64.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02294/0.7683, allocations: 9.663 MB / 0.8108 GB, free: 60 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.7684, allocations: 69.75 kB / 0.8109 GB, free: 59.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/0.7719, allocations: 1.495 MB / 0.8123 GB, free: 59.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.772, allocations: 50.7 kB / 0.8124 GB, free: 59.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.7733, allocations: 1.667 MB / 0.814 GB, free: 57.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.7737, allocations: 469.8 kB / 0.8145 GB, free: 57.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006904/0.7744, allocations: 328.5 kB / 0.8148 GB, free: 57.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.7745, allocations: 305.1 kB / 0.8151 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.776, allocations: 0.9178 MB / 0.816 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.7779, allocations: 1.461 MB / 0.8174 GB, free: 55.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/0.7813, allocations: 2.55 MB / 0.8199 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.7813, allocations: 4.656 kB / 0.8199 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00601/0.7873, allocations: 3.285 MB / 0.8231 GB, free: 51.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.7874, allocations: 16.44 kB / 0.8231 GB, free: 51.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.7874, allocations: 17.88 kB / 0.8231 GB, free: 51.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.7896, allocations: 0.7387 MB / 0.8239 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7911, allocations: 384 kB / 0.8242 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.8039, allocations: 17.06 MB / 0.8409 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.806, allocations: 100.3 kB / 0.841 GB, free: 35.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.8064, allocations: 82.55 kB / 0.8411 GB, free: 35.18 MB / 0.5606 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002619/0.8091, allocations: 1.313 MB / 0.8423 GB, free: 34.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006605/0.8097, allocations: 203 kB / 0.8425 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.8145, allocations: 2.785 MB / 0.8453 GB, free: 32.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.8145, allocations: 11.31 kB / 0.8453 GB, free: 32.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/0.8146, allocations: 11.56 kB / 0.8453 GB, free: 32.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.8146, allocations: 3.984 kB / 0.8453 GB, free: 32.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.8249, allocations: 6.22 MB / 0.8514 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.825, allocations: 8.562 kB / 0.8514 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.8261, allocations: 227.6 kB / 0.8516 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.828, allocations: 0.6833 MB / 0.8522 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.8281, allocations: 28 kB / 0.8523 GB, free: 26.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.8397, allocations: 16.79 MB / 0.8687 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.8397, allocations: 11.92 kB / 0.8687 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005539/0.8453, allocations: 4.021 MB / 0.8726 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009807/0.8463, allocations: 446.7 kB / 0.873 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/0.8468, allocations: 39.89 kB / 0.8731 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.848, allocations: 83.89 kB / 0.8731 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.8483, allocations: 108.8 kB / 0.8733 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/0.8484, allocations: 43.98 kB / 0.8733 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001372/0.8498, allocations: 0.9942 MB / 0.8743 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8498, allocations: 0 / 0.8743 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002521/0.8523, allocations: 0.6875 MB / 0.8749 GB, free: 1.852 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006116/0.8584, allocations: 4.609 MB / 0.8794 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006352/0.8648, allocations: 4.1 MB / 0.8834 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8648, allocations: 3.938 kB / 0.8834 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003085/0.8679, allocations: 2.298 MB / 0.8857 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/0.8712, allocations: 0.6696 MB / 0.8863 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04101/0.9122, allocations: 24.25 MB / 0.91 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004076/0.9163, allocations: 2.664 MB / 0.9126 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00174/0.9181, allocations: 489.4 kB / 0.9131 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/0.9197, allocations: 1.28 MB / 0.9143 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of SimCode: time 8.71e-07/0.9197, allocations: 0 / 0.9143 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/1.072, allocations: 56.36 MB / 0.9694 GB, free: 16 kB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/1.073, allocations: 267.1 kB / 0.9696 GB, free: 15.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.945, allocations: 8.062 kB / 0.9696 GB, free: 15.75 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)