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.00507/0.00507, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001183/0.001183, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.193/1.193, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6135/0.6135, allocations: 115.3 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.94 kB / 493 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 76.18 MB / 0.5559 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2555/0.3889, allocations: 40.76 MB / 0.5957 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.4098, allocations: 15.05 MB / 0.6104 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004292/0.4141, allocations: 172.9 kB / 0.6105 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009033/0.4232, allocations: 4.156 MB / 0.6146 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.4298, allocations: 2.64 MB / 0.6172 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006448/0.4363, allocations: 2.889 MB / 0.62 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.4522, allocations: 16 MB / 0.6356 GB, free: 8.219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01936/0.4716, allocations: 13.66 MB / 0.649 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006605/0.4782, allocations: 4.11 MB / 0.653 GB, free: 6.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007678/0.4859, allocations: 5.483 MB / 0.6583 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002039/0.4879, allocations: 0.6094 MB / 0.6589 GB, free: 208 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.4933, allocations: 2.036 MB / 0.6609 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004258/0.4976, allocations: 3.359 MB / 0.6642 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004862/0.5025, allocations: 3.92 MB / 0.668 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.5129, allocations: 14.03 MB / 0.6817 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.513, allocations: 0 / 0.6817 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.513, allocations: 0 / 0.6817 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002298/0.5132, allocations: 4 kB / 0.6817 GB, free: 8.781 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.01325/0.5265, allocations: 7.593 MB / 0.6891 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5265, allocations: 8.031 kB / 0.6891 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.5276, allocations: 0.8916 MB / 0.69 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/0.5359, allocations: 1.515 MB / 0.6915 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007107/0.5431, allocations: 4.213 MB / 0.6956 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.5434, allocations: 456.5 kB / 0.696 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.5446, allocations: 0.5939 MB / 0.6966 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.5608, allocations: 10.68 MB / 0.7071 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.561, allocations: 43.61 kB / 0.7071 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006218/0.5616, allocations: 263.9 kB / 0.7073 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.564, allocations: 0.7768 MB / 0.7081 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.5771, allocations: 8.561 MB / 0.7165 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05004/0.6272, allocations: 46.85 MB / 0.7622 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005062/0.6323, allocations: 4.302 MB / 0.7664 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/0.6368, allocations: 3.712 MB / 0.77 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.6371, allocations: 42.7 kB / 0.7701 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.6371, allocations: 77.28 kB / 0.7702 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=353): time 5.009e-06/0.6371, allocations: 0 / 0.7702 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=578): time 0.6255/1.263, allocations: 122.7 MB / 0.89 GB, free: 147.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.263, allocations: 111.9 kB / 0.8901 GB, free: 147.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/1.265, allocations: 2.677 MB / 0.8927 GB, free: 145.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003194/1.265, allocations: 122.7 kB / 0.8929 GB, free: 145 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000833/1.266, allocations: 2.68 MB / 0.8955 GB, free: 142.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/1.267, allocations: 1.958 MB / 0.8974 GB, free: 140.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/1.268, allocations: 0.9209 MB / 0.8983 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 2.756e-05/1.269, allocations: 305.1 kB / 0.8986 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/1.273, allocations: 4.076 MB / 0.9026 GB, free: 135 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/1.277, allocations: 5.02 MB / 0.9075 GB, free: 129.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009101/1.286, allocations: 9.847 MB / 0.9171 GB, free: 119.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.286, allocations: 12 kB / 0.9171 GB, free: 119.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0278/1.314, allocations: 16.99 MB / 0.9337 GB, free: 102.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.314, allocations: 18.03 kB / 0.9337 GB, free: 102.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.314, allocations: 20 kB / 0.9337 GB, free: 102.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02452/1.338, allocations: 9.085 MB / 0.9426 GB, free: 93.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.34, allocations: 0.5217 MB / 0.9431 GB, free: 93.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07015/1.41, allocations: 70.52 MB / 1.012 GB, free: 21.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/1.414, allocations: 283.8 kB / 1.012 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/1.414, allocations: 188 kB / 1.012 GB, free: 20.86 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.00276/1.417, allocations: 2.423 MB / 1.015 GB, free: 18.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/1.417, allocations: 470.5 kB / 1.015 GB, free: 18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0283/1.446, allocations: 16.82 MB / 1.032 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.446, allocations: 56 kB / 1.032 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-05/1.446, allocations: 76 kB / 1.032 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/1.446, allocations: 27.89 kB / 1.032 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04055/1.486, allocations: 25.65 MB / 1.057 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.486, allocations: 12.03 kB / 1.057 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.488, allocations: 318.2 kB / 1.057 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02442/1.512, allocations: 8.268 MB / 1.065 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000329/1.513, allocations: 112 kB / 1.065 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2602/1.773, allocations: 67.39 MB / 1.131 GB, free: 213.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.773, allocations: 14.09 kB / 1.131 GB, free: 213.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02986/1.803, allocations: 21.57 MB / 1.152 GB, free: 203.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.805, allocations: 1.359 MB / 1.154 GB, free: 202.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.805, allocations: 109.3 kB / 1.154 GB, free: 202.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.807, allocations: 292.5 kB / 1.154 GB, free: 202.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/1.809, allocations: 0.5259 MB / 1.154 GB, free: 202 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003076/1.809, allocations: 144 kB / 1.155 GB, free: 201.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001622/1.811, allocations: 1.776 MB / 1.156 GB, free: 200.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.61e-07/1.811, allocations: 1.469 kB / 1.156 GB, free: 200.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004206/1.815, allocations: 2.465 MB / 1.159 GB, free: 197.9 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.0313/1.846, allocations: 22.26 MB / 1.18 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01938/1.866, allocations: 14.48 MB / 1.195 GB, free: 161.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.866, allocations: 4 kB / 1.195 GB, free: 161.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/1.879, allocations: 9.358 MB / 1.204 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004926/1.884, allocations: 1.278 MB / 1.205 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/1.985, allocations: 82.78 MB / 1.286 GB, free: 63.71 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003766/1.988, allocations: 4.892 MB / 1.291 GB, free: 58.78 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002055/1.991, allocations: 0.741 MB / 1.291 GB, free: 58.03 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.992, allocations: 2.608 MB / 1.294 GB, free: 55.42 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/1.992, allocations: 0 / 1.294 GB, free: 55.42 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.464/7.456, allocations: 191.8 MB / 1.481 GB, free: 126.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/7.457, allocations: 246.9 kB / 1.481 GB, free: 126.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.352/13.81, allocations: 2.953 kB / 1.481 GB, free: 126.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)