Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.0008049/0.0008052, allocations: 98.58 kB / 16.02 MB, free: 80 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.001031/0.001031, allocations: 185 kB / 16.92 MB, free: 6.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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6769/0.6769, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.000317, allocations: 8 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 77.53 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2947/0.4421, allocations: 39.83 MB / 0.599 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02119/0.4634, allocations: 14.94 MB / 0.6135 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004226/0.4677, allocations: 158.8 kB / 0.6137 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.47, allocations: 0.8622 MB / 0.6145 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007437/0.4775, allocations: 2.634 MB / 0.6171 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006372/0.4838, allocations: 2.702 MB / 0.6198 GB, free: 400 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01725/0.5011, allocations: 16.01 MB / 0.6354 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02526/0.5264, allocations: 15.77 MB / 0.6508 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006817/0.5333, allocations: 3.532 MB / 0.6542 GB, free: 5.633 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007874/0.5412, allocations: 4.761 MB / 0.6589 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.543, allocations: 403.9 kB / 0.6593 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/0.5482, allocations: 1.817 MB / 0.661 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004445/0.5527, allocations: 3 MB / 0.664 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00722/0.5599, allocations: 3.527 MB / 0.6674 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.5757, allocations: 13.59 MB / 0.6807 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.5757, allocations: 3.938 kB / 0.6807 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5757, allocations: 0 / 0.6807 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003889/0.5761, allocations: 0 / 0.6807 GB, free: 10.44 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01546/0.5916, allocations: 6.158 MB / 0.6867 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5916, allocations: 12.03 kB / 0.6867 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002591/0.5942, allocations: 0.8877 MB / 0.6876 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.6048, allocations: 1.518 MB / 0.6891 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009042/0.6139, allocations: 4.205 MB / 0.6932 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.6143, allocations: 456.5 kB / 0.6936 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.6163, allocations: 0.5978 MB / 0.6942 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.639, allocations: 10.69 MB / 0.7046 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/0.6393, allocations: 31.69 kB / 0.7047 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.6408, allocations: 267.9 kB / 0.7049 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/0.6437, allocations: 0.769 MB / 0.7057 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.6613, allocations: 8.561 MB / 0.714 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06597/0.7273, allocations: 47.01 MB / 0.7599 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006135/0.7334, allocations: 4.308 MB / 0.7641 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005497/0.739, allocations: 3.681 MB / 0.7677 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.7393, allocations: 42.77 kB / 0.7678 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/0.7394, allocations: 81.34 kB / 0.7679 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=353): time 6.442e-06/0.7394, allocations: 0 / 0.7679 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=578): time 0.795/1.534, allocations: 128.1 MB / 0.893 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/1.535, allocations: 111.9 kB / 0.8931 GB, free: 145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/1.537, allocations: 2.685 MB / 0.8957 GB, free: 142.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009726/1.538, allocations: 121.7 kB / 0.8958 GB, free: 142.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.54, allocations: 2.679 MB / 0.8984 GB, free: 139.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.541, allocations: 1.949 MB / 0.9003 GB, free: 137.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/1.542, allocations: 439.1 kB / 0.9007 GB, free: 137.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/1.542, allocations: 305.1 kB / 0.901 GB, free: 136.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/1.547, allocations: 4.079 MB / 0.905 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/1.552, allocations: 5.016 MB / 0.9099 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.563, allocations: 9.858 MB / 0.9195 GB, free: 117.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/1.563, allocations: 4 kB / 0.9196 GB, free: 117.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03354/1.596, allocations: 16.99 MB / 0.9361 GB, free: 100.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/1.596, allocations: 24.97 kB / 0.9362 GB, free: 100.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/1.596, allocations: 20 kB / 0.9362 GB, free: 100.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02917/1.626, allocations: 9.083 MB / 0.9451 GB, free: 91.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/1.628, allocations: 0.5245 MB / 0.9456 GB, free: 90.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08187/1.71, allocations: 70.71 MB / 1.015 GB, free: 18.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/1.715, allocations: 279.8 kB / 1.015 GB, free: 18.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009732/1.716, allocations: 188 kB / 1.015 GB, free: 18.36 MB / 0.6387 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004236/1.72, allocations: 2.426 MB / 1.017 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.722, allocations: 470.5 kB / 1.018 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0348/1.756, allocations: 16.82 MB / 1.034 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/1.757, allocations: 56 kB / 1.034 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001291/1.757, allocations: 69.78 kB / 1.034 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-05/1.757, allocations: 31.89 kB / 1.034 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05215/1.809, allocations: 25.69 MB / 1.06 GB, free: 5.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/1.809, allocations: 4 kB / 1.06 GB, free: 5.004 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.811, allocations: 319 kB / 1.06 GB, free: 4.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02657/1.837, allocations: 8.276 MB / 1.068 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004173/1.838, allocations: 103.4 kB / 1.068 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3855/2.223, allocations: 67.59 MB / 1.134 GB, free: 209.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/2.223, allocations: 7.406 kB / 1.134 GB, free: 209.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03967/2.263, allocations: 21.58 MB / 1.155 GB, free: 200.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003102/2.266, allocations: 1.359 MB / 1.156 GB, free: 199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/2.267, allocations: 107.6 kB / 1.157 GB, free: 198.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/2.271, allocations: 290.9 kB / 1.157 GB, free: 198.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002203/2.273, allocations: 0.5282 MB / 1.157 GB, free: 198.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005204/2.274, allocations: 140 kB / 1.157 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002204/2.276, allocations: 1.78 MB / 1.159 GB, free: 196.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.81e-07/2.276, allocations: 0 / 1.159 GB, free: 196.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008616/2.285, allocations: 2.461 MB / 1.162 GB, free: 194.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03824/2.323, allocations: 22.27 MB / 1.183 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02137/2.344, allocations: 14.52 MB / 1.198 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.344, allocations: 4 kB / 1.198 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/2.359, allocations: 9.389 MB / 1.207 GB, free: 148.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008489/2.368, allocations: 1.282 MB / 1.208 GB, free: 146.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1204/2.488, allocations: 82.84 MB / 1.289 GB, free: 59.63 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006288/2.494, allocations: 4.897 MB / 1.294 GB, free: 54.69 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002838/2.497, allocations: 0.741 MB / 1.294 GB, free: 53.95 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002711/2.5, allocations: 2.608 MB / 1.297 GB, free: 51.34 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/2.5, allocations: 0 / 1.297 GB, free: 51.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5094/3.009, allocations: 187.2 MB / 1.48 GB, free: 125.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/3.01, allocations: 244.1 kB / 1.48 GB, free: 125.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.917/8.927, allocations: 4 kB / 1.48 GB, free: 125.1 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)