Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_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.0009995/0.0009996, allocations: 107.6 kB / 16.4 MB, free: 6.473 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.000923/0.0009229, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6504/0.6504, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 67.5 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 76.19 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03725/0.1576, allocations: 37.56 MB / 0.6683 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01977/0.1774, allocations: 13.04 MB / 0.681 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004653/0.1821, allocations: 175.1 kB / 0.6812 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009471/0.1916, allocations: 3.895 MB / 0.685 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.1984, allocations: 2.608 MB / 0.6875 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007333/0.2058, allocations: 2.721 MB / 0.6902 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.2169, allocations: 9.591 MB / 0.6996 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.2303, allocations: 10.5 MB / 0.7098 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006156/0.2365, allocations: 4.074 MB / 0.7138 GB, free: 388 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006877/0.2434, allocations: 4.377 MB / 0.7181 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002309/0.2457, allocations: 0.7695 MB / 0.7188 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.2505, allocations: 1.779 MB / 0.7206 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004254/0.2548, allocations: 3.033 MB / 0.7235 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006937/0.2617, allocations: 3.583 MB / 0.727 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.2758, allocations: 11.85 MB / 0.7386 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2758, allocations: 4 kB / 0.7386 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2758, allocations: 3.984 kB / 0.7386 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002215/0.2761, allocations: 4 kB / 0.7386 GB, free: 6.902 MB / 0.5762 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.01137/0.2874, allocations: 6.35 MB / 0.7448 GB, free: 488 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2875, allocations: 8.031 kB / 0.7448 GB, free: 480 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2479/0.5354, allocations: 0.7474 MB / 0.7455 GB, free: 98.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/0.5433, allocations: 1.301 MB / 0.7468 GB, free: 98.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/0.5497, allocations: 3.785 MB / 0.7505 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.55, allocations: 385.1 kB / 0.7509 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008647/0.5508, allocations: 0.4911 MB / 0.7514 GB, free: 96.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.5648, allocations: 8.89 MB / 0.76 GB, free: 93.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.5649, allocations: 40.88 kB / 0.7601 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004742/0.5654, allocations: 221.5 kB / 0.7603 GB, free: 92.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.5672, allocations: 0.6316 MB / 0.7609 GB, free: 92.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.5791, allocations: 7.016 MB / 0.7678 GB, free: 89.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03081/0.6099, allocations: 40.05 MB / 0.8069 GB, free: 50.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.6127, allocations: 2.903 MB / 0.8097 GB, free: 47.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/0.6151, allocations: 2.662 MB / 0.8123 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.6153, allocations: 26.09 kB / 0.8123 GB, free: 44.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.6153, allocations: 64.66 kB / 0.8124 GB, free: 44.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 3.617e-06/0.6153, allocations: 0 / 0.8124 GB, free: 44.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2361/0.8514, allocations: 74.7 MB / 0.8853 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.8515, allocations: 94.73 kB / 0.8854 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.8547, allocations: 2.355 MB / 0.8877 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/0.8551, allocations: 93.7 kB / 0.8878 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.8564, allocations: 2.34 MB / 0.8901 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.8577, allocations: 1.437 MB / 0.8915 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.8592, allocations: 0.7254 MB / 0.8922 GB, free: 10 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.8593, allocations: 305.1 kB / 0.8925 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.8633, allocations: 2.995 MB / 0.8954 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/0.8679, allocations: 3.843 MB / 0.8992 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/0.8773, allocations: 7.389 MB / 0.9064 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/0.8774, allocations: 6.812 kB / 0.9064 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02715/0.9045, allocations: 12.56 MB / 0.9187 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.9046, allocations: 12 kB / 0.9187 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.9046, allocations: 24 kB / 0.9187 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02059/0.9252, allocations: 6.022 MB / 0.9246 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.9273, allocations: 495.2 kB / 0.9251 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07854/1.006, allocations: 72.99 MB / 0.9963 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.01, allocations: 211.8 kB / 0.9965 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004824/1.01, allocations: 156 kB / 0.9967 GB, free: 10.89 MB / 0.7325 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.003016/1.013, allocations: 1.992 MB / 0.9986 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008189/1.014, allocations: 391.4 kB / 0.999 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02542/1.039, allocations: 12.23 MB / 1.011 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/1.039, allocations: 41.69 kB / 1.011 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001177/1.04, allocations: 51.94 kB / 1.011 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-05/1.04, allocations: 19.92 kB / 1.011 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3355/1.375, allocations: 19.14 MB / 1.03 GB, free: 243.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/1.375, allocations: 6.625 kB / 1.03 GB, free: 243.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.377, allocations: 285.4 kB / 1.03 GB, free: 243.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01979/1.397, allocations: 5.581 MB / 1.035 GB, free: 243 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006929/1.397, allocations: 83.73 kB / 1.036 GB, free: 243 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06197/1.459, allocations: 70.61 MB / 1.105 GB, free: 194.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.459, allocations: 11.94 kB / 1.105 GB, free: 194.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02431/1.484, allocations: 15.62 MB / 1.12 GB, free: 179.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.486, allocations: 1.041 MB / 1.121 GB, free: 178.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005579/1.486, allocations: 83.98 kB / 1.121 GB, free: 178.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.488, allocations: 215.6 kB / 1.121 GB, free: 178.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/1.489, allocations: 410.2 kB / 1.121 GB, free: 178.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/1.49, allocations: 112 kB / 1.122 GB, free: 178.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001704/1.491, allocations: 1.556 MB / 1.123 GB, free: 176.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.491, allocations: 0 / 1.123 GB, free: 176.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004883/1.496, allocations: 1.859 MB / 1.125 GB, free: 174.7 MB / 0.7481 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.0233/1.52, allocations: 16.29 MB / 1.141 GB, free: 158.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.535, allocations: 12.2 MB / 1.153 GB, free: 145.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.535, allocations: 4 kB / 1.153 GB, free: 145.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/1.546, allocations: 8.362 MB / 1.161 GB, free: 137 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/1.55, allocations: 1.196 MB / 1.162 GB, free: 135.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07503/1.625, allocations: 53.88 MB / 1.215 GB, free: 80.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003411/1.629, allocations: 4.082 MB / 1.219 GB, free: 76.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001998/1.631, allocations: 0.6708 MB / 1.219 GB, free: 75.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/1.633, allocations: 2.132 MB / 1.221 GB, free: 73.61 MB / 0.7481 GB Notification: Performance of SimCode: time 3.036e-06/1.633, allocations: 0 / 1.221 GB, free: 73.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4966/2.129, allocations: 150.8 MB / 1.369 GB, free: 220 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.69, allocations: 10.91 kB / 1.369 GB, free: 220 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)