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.001174/0.001174, allocations: 104.8 kB / 16.27 MB, free: 6.41 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.001105/0.001105, allocations: 184.1 kB / 17.2 MB, free: 5.953 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.23/1.23, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.722/0.722, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3041, allocations: 77.91 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03292/0.337, allocations: 41.17 MB / 0.6075 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.3609, allocations: 15.08 MB / 0.6222 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004219/0.3651, allocations: 191.6 kB / 0.6224 GB, free: 2.215 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.3761, allocations: 4.469 MB / 0.6268 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007866/0.3839, allocations: 2.79 MB / 0.6295 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00765/0.3916, allocations: 3.157 MB / 0.6326 GB, free: 7.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.4049, allocations: 11.4 MB / 0.6437 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01746/0.4224, allocations: 12.63 MB / 0.6561 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.4295, allocations: 4.798 MB / 0.6607 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00793/0.4374, allocations: 5.386 MB / 0.666 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002841/0.4403, allocations: 0.9453 MB / 0.6669 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005505/0.4458, allocations: 2.04 MB / 0.6689 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005987/0.4518, allocations: 3.699 MB / 0.6725 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.009205/0.461, allocations: 4.291 MB / 0.6767 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.4788, allocations: 14.19 MB / 0.6906 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.4788, allocations: 0 / 0.6906 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4788, allocations: 0 / 0.6906 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005772/0.4794, allocations: 0 / 0.6906 GB, free: 12.16 MB / 0.5294 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.02099/0.5004, allocations: 7.596 MB / 0.698 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5005, allocations: 8.625 kB / 0.698 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002578/0.5031, allocations: 0.8916 MB / 0.6989 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.5136, allocations: 1.514 MB / 0.7004 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008259/0.5219, allocations: 4.213 MB / 0.7045 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.5223, allocations: 452.5 kB / 0.7049 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.5245, allocations: 0.5977 MB / 0.7055 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.5458, allocations: 10.69 MB / 0.7159 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/0.546, allocations: 35.7 kB / 0.716 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/0.5476, allocations: 259.9 kB / 0.7162 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.5505, allocations: 0.7768 MB / 0.717 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.5653, allocations: 8.557 MB / 0.7253 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2734/0.8387, allocations: 46.84 MB / 0.7711 GB, free: 127 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/0.8445, allocations: 4.31 MB / 0.7753 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/0.8494, allocations: 3.699 MB / 0.7789 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.8498, allocations: 39.88 kB / 0.7789 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.8499, allocations: 76.69 kB / 0.779 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 6.502e-06/0.8499, allocations: 0 / 0.779 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4594/1.309, allocations: 122.8 MB / 0.8989 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/1.309, allocations: 111.9 kB / 0.899 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/1.313, allocations: 2.681 MB / 0.9017 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.314, allocations: 121.7 kB / 0.9018 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.315, allocations: 2.682 MB / 0.9044 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.317, allocations: 1.95 MB / 0.9063 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/1.319, allocations: 0.9248 MB / 0.9072 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.496e-05/1.319, allocations: 305.1 kB / 0.9075 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/1.323, allocations: 4.083 MB / 0.9115 GB, free: 72 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006196/1.329, allocations: 5.015 MB / 0.9164 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.341, allocations: 9.855 MB / 0.926 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/1.341, allocations: 8 kB / 0.926 GB, free: 500 kB / 0.5919 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03733/1.379, allocations: 16.99 MB / 0.9426 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/1.379, allocations: 12.97 kB / 0.9426 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/1.379, allocations: 27.98 kB / 0.9426 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03119/1.41, allocations: 9.146 MB / 0.9516 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/1.412, allocations: 0.5304 MB / 0.9521 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3127/1.725, allocations: 77.01 MB / 1.027 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/1.73, allocations: 276.3 kB / 1.028 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005246/1.73, allocations: 195.8 kB / 1.028 GB, free: 213.7 MB / 0.67 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.003186/1.733, allocations: 2.422 MB / 1.03 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008387/1.734, allocations: 474.6 kB / 1.031 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03197/1.766, allocations: 16.82 MB / 1.047 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/1.766, allocations: 53.44 kB / 1.047 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/1.766, allocations: 72.19 kB / 1.047 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.178e-05/1.766, allocations: 28.88 kB / 1.047 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/1.807, allocations: 25.66 MB / 1.072 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.807, allocations: 8 kB / 1.072 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/1.808, allocations: 315.5 kB / 1.073 GB, free: 191.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02411/1.832, allocations: 8.345 MB / 1.081 GB, free: 183 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006831/1.833, allocations: 108 kB / 1.081 GB, free: 182.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07409/1.907, allocations: 73.89 MB / 1.153 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/1.907, allocations: 12 kB / 1.153 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03215/1.939, allocations: 21.58 MB / 1.174 GB, free: 85.87 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.941, allocations: 1.36 MB / 1.175 GB, free: 84.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000648/1.942, allocations: 108 kB / 1.175 GB, free: 84.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.945, allocations: 287.6 kB / 1.176 GB, free: 84.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/1.946, allocations: 0.5221 MB / 1.176 GB, free: 83.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/1.947, allocations: 140 kB / 1.176 GB, free: 83.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001724/1.949, allocations: 1.784 MB / 1.178 GB, free: 81.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.949, allocations: 0 / 1.178 GB, free: 81.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005047/1.954, allocations: 2.461 MB / 1.18 GB, free: 79.2 MB / 0.67 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.03232/1.986, allocations: 22.27 MB / 1.202 GB, free: 56.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02707/2.013, allocations: 18.67 MB / 1.22 GB, free: 37.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.013, allocations: 4 kB / 1.22 GB, free: 37.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01495/2.028, allocations: 9.354 MB / 1.23 GB, free: 28.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007183/2.035, allocations: 1.374 MB / 1.231 GB, free: 26.92 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3403/2.376, allocations: 79.86 MB / 1.309 GB, free: 190.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/2.38, allocations: 4.898 MB / 1.314 GB, free: 188.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002278/2.382, allocations: 0.7358 MB / 1.314 GB, free: 188.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/2.384, allocations: 2.612 MB / 1.317 GB, free: 186.5 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/2.384, allocations: 0 / 1.317 GB, free: 186.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.663/7.047, allocations: 196.8 MB / 1.509 GB, free: 201.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/20.42, allocations: 6.438 kB / 1.509 GB, free: 201.9 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)