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.001813/0.001813, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 294.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9947/0.9947, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 103 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1474, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04015/0.1876, allocations: 37.57 MB / 0.717 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.2119, allocations: 13.05 MB / 0.7297 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004788/0.2167, allocations: 171.1 kB / 0.7299 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.2274, allocations: 3.882 MB / 0.7337 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007655/0.235, allocations: 2.483 MB / 0.7361 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007439/0.2425, allocations: 2.716 MB / 0.7388 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01105/0.2536, allocations: 9.575 MB / 0.7481 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.268, allocations: 10.63 MB / 0.7585 GB, free: 200 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006527/0.2745, allocations: 3.972 MB / 0.7624 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00801/0.2826, allocations: 4.381 MB / 0.7666 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002777/0.2854, allocations: 0.7734 MB / 0.7674 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005289/0.2907, allocations: 1.783 MB / 0.7691 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004704/0.2954, allocations: 3.029 MB / 0.7721 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.3284/0.6239, allocations: 3.578 MB / 0.7756 GB, free: 32.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.641, allocations: 11.77 MB / 0.7871 GB, free: 31.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.641, allocations: 0 / 0.7871 GB, free: 31.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.641, allocations: 0 / 0.7871 GB, free: 31.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003573/0.6414, allocations: 0 / 0.7871 GB, free: 31.99 MB / 0.5606 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.01998/0.6614, allocations: 6.367 MB / 0.7933 GB, free: 29.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6614, allocations: 9.594 kB / 0.7933 GB, free: 29.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001845/0.6633, allocations: 0.7445 MB / 0.794 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008566/0.6718, allocations: 1.304 MB / 0.7953 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007672/0.6795, allocations: 3.567 MB / 0.7988 GB, free: 28.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.6799, allocations: 383.6 kB / 0.7992 GB, free: 28.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.682, allocations: 0.4973 MB / 0.7997 GB, free: 28.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.6999, allocations: 8.884 MB / 0.8083 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.7001, allocations: 23.83 kB / 0.8084 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008125/0.7009, allocations: 223.7 kB / 0.8086 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.7033, allocations: 0.6383 MB / 0.8092 GB, free: 27.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.7178, allocations: 7.009 MB / 0.816 GB, free: 25.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/0.7657, allocations: 40.32 MB / 0.8554 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.7698, allocations: 2.896 MB / 0.8582 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.7734, allocations: 2.667 MB / 0.8608 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.7737, allocations: 28.98 kB / 0.8609 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.7738, allocations: 72 kB / 0.8609 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.389e-06/0.7738, allocations: 0 / 0.8609 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.3222/1.096, allocations: 74.72 MB / 0.9339 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/1.096, allocations: 94.73 kB / 0.934 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/1.1, allocations: 2.356 MB / 0.9363 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.101, allocations: 97.7 kB / 0.9364 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.103, allocations: 2.331 MB / 0.9387 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/1.106, allocations: 1.446 MB / 0.9401 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002936/1.109, allocations: 0.7215 MB / 0.9408 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/1.109, allocations: 305.1 kB / 0.9411 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005003/1.114, allocations: 3.002 MB / 0.944 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006036/1.12, allocations: 3.844 MB / 0.9478 GB, free: 13.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.131, allocations: 7.389 MB / 0.955 GB, free: 5.488 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/1.131, allocations: 4 kB / 0.955 GB, free: 5.484 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03206/1.163, allocations: 12.56 MB / 0.9672 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.164, allocations: 12 kB / 0.9673 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/1.164, allocations: 24.91 kB / 0.9673 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02465/1.188, allocations: 6.067 MB / 0.9732 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.191, allocations: 496.8 kB / 0.9737 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0895/1.28, allocations: 73.05 MB / 1.045 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/1.285, allocations: 211.8 kB / 1.045 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009344/1.286, allocations: 152 kB / 1.045 GB, free: 6.074 MB / 0.7637 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.004361/1.29, allocations: 1.988 MB / 1.047 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.291, allocations: 395.4 kB / 1.048 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02962/1.321, allocations: 12.23 MB / 1.06 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/1.321, allocations: 40 kB / 1.06 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001425/1.321, allocations: 51.94 kB / 1.06 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.044e-05/1.321, allocations: 19.92 kB / 1.06 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3094/1.631, allocations: 19.15 MB / 1.078 GB, free: 281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/1.631, allocations: 8.156 kB / 1.078 GB, free: 281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.633, allocations: 289.1 kB / 1.079 GB, free: 281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02156/1.654, allocations: 5.624 MB / 1.084 GB, free: 280.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007757/1.655, allocations: 81.38 kB / 1.084 GB, free: 280.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06904/1.724, allocations: 70.66 MB / 1.153 GB, free: 231.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.724, allocations: 11.47 kB / 1.153 GB, free: 231.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02876/1.753, allocations: 15.61 MB / 1.169 GB, free: 216 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/1.755, allocations: 1.04 MB / 1.17 GB, free: 215 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/1.756, allocations: 87.91 kB / 1.17 GB, free: 214.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.759, allocations: 219.7 kB / 1.17 GB, free: 214.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/1.76, allocations: 398.3 kB / 1.17 GB, free: 214.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.76, allocations: 112 kB / 1.17 GB, free: 214.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001971/1.762, allocations: 1.56 MB / 1.172 GB, free: 212.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.762, allocations: 0 / 1.172 GB, free: 212.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005732/1.768, allocations: 1.859 MB / 1.174 GB, free: 210.7 MB / 0.7794 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.02764/1.796, allocations: 16.29 MB / 1.19 GB, free: 194.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02388/1.82, allocations: 14.98 MB / 1.204 GB, free: 179 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.82, allocations: 4 kB / 1.204 GB, free: 179 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.014/1.834, allocations: 8.351 MB / 1.212 GB, free: 170.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005781/1.84, allocations: 1.19 MB / 1.214 GB, free: 169.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09657/1.936, allocations: 60.32 MB / 1.272 GB, free: 104.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004977/1.941, allocations: 4.091 MB / 1.276 GB, free: 100.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002428/1.944, allocations: 0.6669 MB / 1.277 GB, free: 100 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.946, allocations: 2.124 MB / 1.279 GB, free: 97.9 MB / 0.7794 GB Notification: Performance of SimCode: time 9.32e-07/1.946, allocations: 3.938 kB / 1.279 GB, free: 97.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4963/2.442, allocations: 151.6 MB / 1.427 GB, free: 254.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/15.13, allocations: 4.75 kB / 1.427 GB, free: 254.1 MB / 0.7794 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)