Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.005625/0.005625, allocations: 99.59 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.001332/0.001332, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 286.3 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 99.86 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1966, allocations: 86.97 MB / 0.7659 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4173/0.614, allocations: 37.58 MB / 0.8026 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02805/0.6421, allocations: 13.03 MB / 0.8154 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005962/0.6481, allocations: 171.5 kB / 0.8155 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/0.6597, allocations: 3.879 MB / 0.8193 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.6702, allocations: 2.482 MB / 0.8217 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009239/0.6795, allocations: 2.722 MB / 0.8244 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01577/0.6952, allocations: 9.568 MB / 0.8337 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01878/0.7141, allocations: 10.5 MB / 0.844 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008081/0.7222, allocations: 3.997 MB / 0.8479 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008752/0.731, allocations: 4.382 MB / 0.8522 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002931/0.7339, allocations: 0.7695 MB / 0.8529 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007308/0.7413, allocations: 1.783 MB / 0.8547 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006712/0.748, allocations: 3.029 MB / 0.8576 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009121/0.7572, allocations: 3.591 MB / 0.8611 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0183/0.7755, allocations: 11.87 MB / 0.8727 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.7755, allocations: 4 kB / 0.8727 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7755, allocations: 0 / 0.8727 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003497/0.7759, allocations: 0 / 0.8727 GB, free: 6.594 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01663/0.7925, allocations: 6.526 MB / 0.8791 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7926, allocations: 8.031 kB / 0.8791 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00146/0.794, allocations: 0.7518 MB / 0.8798 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008089/0.8021, allocations: 1.328 MB / 0.8811 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008109/0.8103, allocations: 3.82 MB / 0.8849 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.8106, allocations: 374.5 kB / 0.8852 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.8121, allocations: 0.4963 MB / 0.8857 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.8286, allocations: 8.894 MB / 0.8944 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.8287, allocations: 19.83 kB / 0.8944 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005912/0.8293, allocations: 223.9 kB / 0.8946 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/0.8314, allocations: 0.6342 MB / 0.8953 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.8442, allocations: 7.014 MB / 0.9021 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05353/0.8977, allocations: 40.12 MB / 0.9413 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/0.9022, allocations: 2.895 MB / 0.9441 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004489/0.9068, allocations: 2.659 MB / 0.9467 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.9071, allocations: 30.09 kB / 0.9467 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.395e-05/0.9072, allocations: 72.52 kB / 0.9468 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=265): time 5.721e-06/0.9072, allocations: 0 / 0.9468 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of matching and sorting (n=424): time 0.2945/1.202, allocations: 74.79 MB / 1.02 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.202, allocations: 98.73 kB / 1.02 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005049/1.207, allocations: 2.363 MB / 1.022 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.208, allocations: 97.7 kB / 1.022 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.21, allocations: 2.399 MB / 1.025 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002545/1.213, allocations: 1.51 MB / 1.026 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/1.216, allocations: 0.7217 MB / 1.027 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.216, allocations: 301.1 kB / 1.027 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/1.221, allocations: 2.995 MB / 1.03 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006053/1.227, allocations: 3.851 MB / 1.034 GB, free: 12.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.239, allocations: 7.384 MB / 1.041 GB, free: 5.059 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-05/1.239, allocations: 4 kB / 1.041 GB, free: 5.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03251/1.272, allocations: 12.57 MB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/1.272, allocations: 12.19 kB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/1.272, allocations: 28 kB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02325/1.295, allocations: 6.019 MB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/1.297, allocations: 499.1 kB / 1.06 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4752/1.773, allocations: 73.04 MB / 1.131 GB, free: 238.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/1.776, allocations: 214.9 kB / 1.131 GB, free: 238.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/1.777, allocations: 156 kB / 1.131 GB, free: 238.3 MB / 0.8419 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003355/1.78, allocations: 1.997 MB / 1.133 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009339/1.781, allocations: 409.2 kB / 1.134 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/1.807, allocations: 12.24 MB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/1.808, allocations: 42.62 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001617/1.808, allocations: 48.97 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.164e-05/1.808, allocations: 22.73 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03884/1.847, allocations: 19.13 MB / 1.164 GB, free: 224.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.564e-05/1.847, allocations: 7.719 kB / 1.164 GB, free: 224.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.848, allocations: 294 kB / 1.165 GB, free: 224.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01875/1.867, allocations: 5.575 MB / 1.17 GB, free: 223.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007694/1.868, allocations: 82.17 kB / 1.17 GB, free: 223.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06376/1.932, allocations: 70.67 MB / 1.239 GB, free: 156.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.932, allocations: 11.94 kB / 1.239 GB, free: 156.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02735/1.959, allocations: 15.65 MB / 1.255 GB, free: 140.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.962, allocations: 1.061 MB / 1.256 GB, free: 139.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007186/1.963, allocations: 82.11 kB / 1.256 GB, free: 139.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.965, allocations: 219.7 kB / 1.256 GB, free: 139.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.966, allocations: 402.3 kB / 1.256 GB, free: 139.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/1.967, allocations: 108 kB / 1.256 GB, free: 139 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001858/1.969, allocations: 1.556 MB / 1.258 GB, free: 137.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/1.969, allocations: 0 / 1.258 GB, free: 137.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005687/1.974, allocations: 1.859 MB / 1.26 GB, free: 135.6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0269/2.001, allocations: 16.31 MB / 1.276 GB, free: 119.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01884/2.02, allocations: 12.24 MB / 1.288 GB, free: 106.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.02, allocations: 0 / 1.288 GB, free: 106.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/2.034, allocations: 8.384 MB / 1.296 GB, free: 97.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005254/2.039, allocations: 1.194 MB / 1.297 GB, free: 96.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09395/2.133, allocations: 54.05 MB / 1.35 GB, free: 41.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004869/2.138, allocations: 4.091 MB / 1.354 GB, free: 37.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002174/2.141, allocations: 0.6708 MB / 1.354 GB, free: 36.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/2.143, allocations: 2.124 MB / 1.356 GB, free: 34.24 MB / 0.8419 GB Notification: Performance of SimCode: time 1.122e-06/2.143, allocations: 0 / 1.356 GB, free: 34.24 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6529/2.796, allocations: 151 MB / 1.504 GB, free: 247.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/21.85, allocations: 4.719 kB / 1.504 GB, free: 247.5 MB / 0.8731 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)