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.005695/0.005695, allocations: 106.2 kB / 15.74 MB, free: 6 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.001159/0.001159, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 286.1 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9578/0.9578, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 96.31 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1541, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4087/0.5628, allocations: 37.57 MB / 0.8026 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.5892, allocations: 13.04 MB / 0.8153 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.5939, allocations: 171.1 kB / 0.8155 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.6051, allocations: 3.895 MB / 0.8193 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.6156, allocations: 2.613 MB / 0.8219 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00944/0.6251, allocations: 2.717 MB / 0.8245 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01441/0.6395, allocations: 9.594 MB / 0.8339 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01849/0.6581, allocations: 10.49 MB / 0.8441 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.6682, allocations: 4.077 MB / 0.8481 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009134/0.6774, allocations: 4.378 MB / 0.8524 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003364/0.6808, allocations: 0.7695 MB / 0.8531 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007513/0.6884, allocations: 1.775 MB / 0.8549 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005787/0.6942, allocations: 3.037 MB / 0.8578 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.7045, allocations: 3.583 MB / 0.8613 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01869/0.7233, allocations: 11.85 MB / 0.8729 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.7233, allocations: 0 / 0.8729 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.278e-06/0.7234, allocations: 3.984 kB / 0.8729 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004673/0.7238, allocations: 0 / 0.8729 GB, free: 6.633 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.01908/0.7429, allocations: 6.358 MB / 0.8791 GB, free: 204 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.743, allocations: 12.03 kB / 0.8791 GB, free: 192 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002605/0.7456, allocations: 0.7519 MB / 0.8799 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009645/0.7553, allocations: 1.297 MB / 0.8811 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.7656, allocations: 3.787 MB / 0.8848 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.7662, allocations: 382.5 kB / 0.8852 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.7684, allocations: 0.4963 MB / 0.8857 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.7886, allocations: 8.894 MB / 0.8944 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002374/0.7889, allocations: 27.69 kB / 0.8944 GB, free: 116 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/0.7905, allocations: 219.9 kB / 0.8946 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00217/0.7927, allocations: 0.6343 MB / 0.8952 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.8086, allocations: 7.01 MB / 0.9021 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.055/0.8637, allocations: 40.06 MB / 0.9412 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/0.8685, allocations: 2.891 MB / 0.944 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/0.8729, allocations: 2.663 MB / 0.9466 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/0.8733, allocations: 34.08 kB / 0.9467 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.803e-05/0.8734, allocations: 68.59 kB / 0.9467 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=265): time 1.431e-05/0.8734, allocations: 0 / 0.9467 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of matching and sorting (n=424): time 0.2849/1.158, allocations: 74.69 MB / 1.02 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/1.158, allocations: 94.73 kB / 1.02 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/1.162, allocations: 2.355 MB / 1.022 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0009339/1.163, allocations: 97.7 kB / 1.022 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/1.165, allocations: 2.341 MB / 1.024 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001992/1.167, allocations: 1.44 MB / 1.026 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/1.168, allocations: 0.7177 MB / 1.027 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.168, allocations: 305.1 kB / 1.027 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/1.173, allocations: 2.995 MB / 1.03 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005363/1.179, allocations: 3.847 MB / 1.034 GB, free: 13.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.189, allocations: 7.384 MB / 1.041 GB, free: 5.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.189, allocations: 12 kB / 1.041 GB, free: 5.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02972/1.219, allocations: 12.55 MB / 1.053 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/1.219, allocations: 19.94 kB / 1.053 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.219, allocations: 20 kB / 1.053 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02312/1.242, allocations: 6.025 MB / 1.059 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.244, allocations: 495.2 kB / 1.059 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4251/1.669, allocations: 72.98 MB / 1.131 GB, free: 238.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/1.673, allocations: 218 kB / 1.131 GB, free: 238.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006229/1.674, allocations: 153.2 kB / 1.131 GB, free: 238.8 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.003593/1.677, allocations: 1.998 MB / 1.133 GB, free: 237.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/1.678, allocations: 389.7 kB / 1.133 GB, free: 237.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02871/1.707, allocations: 12.23 MB / 1.145 GB, free: 233 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.512e-05/1.707, allocations: 40.53 kB / 1.145 GB, free: 233 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001695/1.707, allocations: 51.14 kB / 1.145 GB, free: 233 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/1.707, allocations: 23.27 kB / 1.145 GB, free: 233 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03716/1.744, allocations: 19.14 MB / 1.164 GB, free: 225.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/1.745, allocations: 7.406 kB / 1.164 GB, free: 225.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.746, allocations: 289.5 kB / 1.164 GB, free: 225.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/1.765, allocations: 5.576 MB / 1.17 GB, free: 223.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006805/1.766, allocations: 78.5 kB / 1.17 GB, free: 223.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06579/1.832, allocations: 70.62 MB / 1.239 GB, free: 157.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-06/1.832, allocations: 15.92 kB / 1.239 GB, free: 157.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02762/1.859, allocations: 15.62 MB / 1.254 GB, free: 141.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.862, allocations: 1.04 MB / 1.255 GB, free: 140.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/1.863, allocations: 87.92 kB / 1.255 GB, free: 140.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.866, allocations: 215.7 kB / 1.255 GB, free: 140.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/1.867, allocations: 402.3 kB / 1.256 GB, free: 140.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/1.868, allocations: 112 kB / 1.256 GB, free: 140 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001987/1.87, allocations: 1.553 MB / 1.257 GB, free: 138.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/1.87, allocations: 0 / 1.257 GB, free: 138.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005787/1.875, allocations: 1.863 MB / 1.259 GB, free: 136.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.02766/1.903, allocations: 16.29 MB / 1.275 GB, free: 120.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01916/1.922, allocations: 12.21 MB / 1.287 GB, free: 107.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.338e-05/1.922, allocations: 4 kB / 1.287 GB, free: 107.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01335/1.936, allocations: 8.358 MB / 1.295 GB, free: 98.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.941, allocations: 1.204 MB / 1.296 GB, free: 97.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09131/2.032, allocations: 53.85 MB / 1.349 GB, free: 42.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005037/2.037, allocations: 4.094 MB / 1.353 GB, free: 38.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002148/2.039, allocations: 0.6669 MB / 1.354 GB, free: 37.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/2.042, allocations: 2.132 MB / 1.356 GB, free: 35.53 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/2.042, allocations: 0 / 1.356 GB, free: 35.53 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6332/2.675, allocations: 150.9 MB / 1.503 GB, free: 249.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/20.84, allocations: 3 kB / 1.503 GB, free: 249.3 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)