Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.0009347/0.0009348, allocations: 93.73 kB / 16.02 MB, free: 84 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.000928/0.0009281, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6721/0.6721, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 12 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02078/0.1599, allocations: 19.47 MB / 0.5791 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2462/0.4062, allocations: 6.363 MB / 0.5853 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.4078, allocations: 75.45 kB / 0.5854 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.4092, allocations: 405.3 kB / 0.5857 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.412, allocations: 1.117 MB / 0.5868 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.4145, allocations: 1.077 MB / 0.5879 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008145/0.4226, allocations: 6.968 MB / 0.5947 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.4335, allocations: 7.278 MB / 0.6018 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.4366, allocations: 1.496 MB / 0.6033 GB, free: 12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004242/0.4408, allocations: 2.024 MB / 0.6052 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006541/0.4415, allocations: 176.4 kB / 0.6054 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.4439, allocations: 0.9238 MB / 0.6063 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.4454, allocations: 1.356 MB / 0.6076 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.4471, allocations: 1.569 MB / 0.6092 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.452, allocations: 6.211 MB / 0.6152 GB, free: 5.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.452, allocations: 0 / 0.6152 GB, free: 5.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.452, allocations: 0 / 0.6152 GB, free: 5.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001247/0.4522, allocations: 1.281 kB / 0.6152 GB, free: 5.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005441/0.4576, allocations: 2.819 MB / 0.618 GB, free: 3.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4577, allocations: 13.22 kB / 0.618 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007392/0.4584, allocations: 454.9 kB / 0.6184 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.4618, allocations: 0.6329 MB / 0.619 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.4652, allocations: 1.942 MB / 0.6209 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4654, allocations: 222.9 kB / 0.6212 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006361/0.4661, allocations: 304.2 kB / 0.6214 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008546/0.4746, allocations: 4.881 MB / 0.6262 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.4748, allocations: 7.938 kB / 0.6262 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.4753, allocations: 129.1 kB / 0.6263 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000568/0.4759, allocations: 237.7 kB / 0.6266 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007342/0.4832, allocations: 3.746 MB / 0.6302 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.5055, allocations: 21.62 MB / 0.6513 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.5072, allocations: 1.317 MB / 0.6526 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.5086, allocations: 1.033 MB / 0.6536 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-05/0.5086, allocations: 13 kB / 0.6536 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.5087, allocations: 47.56 kB / 0.6537 GB, free: 84 kB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 2.655e-06/0.5087, allocations: 0 / 0.6537 GB, free: 84 kB / 478.1 MB Notification: Performance of matching and sorting (n=138): time 0.02392/0.5326, allocations: 8.711 MB / 0.6622 GB, free: 7.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5327, allocations: 64.72 kB / 0.6623 GB, free: 7.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.5343, allocations: 1.13 MB / 0.6634 GB, free: 6.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.5344, allocations: 57.7 kB / 0.6634 GB, free: 6.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009226/0.5354, allocations: 1.293 MB / 0.6647 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000406/0.5358, allocations: 490.4 kB / 0.6652 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.536, allocations: 125.6 kB / 0.6653 GB, free: 4.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.5361, allocations: 309.1 kB / 0.6656 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.5374, allocations: 0.9096 MB / 0.6665 GB, free: 2.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.539, allocations: 1.327 MB / 0.6678 GB, free: 1.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.5421, allocations: 2.429 MB / 0.6701 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.5421, allocations: 4 kB / 0.6701 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005967/0.5481, allocations: 3.46 MB / 0.6735 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5481, allocations: 12.22 kB / 0.6735 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.5481, allocations: 12 kB / 0.6735 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.5513, allocations: 1.184 MB / 0.6747 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.5522, allocations: 255.5 kB / 0.6749 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.5681, allocations: 12.76 MB / 0.6874 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5693, allocations: 91.91 kB / 0.6875 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.5695, allocations: 60 kB / 0.6875 GB, free: 12.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002024/0.5715, allocations: 1.125 MB / 0.6886 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.5719, allocations: 158.1 kB / 0.6888 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/0.5776, allocations: 3.173 MB / 0.6919 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.5776, allocations: 16 kB / 0.6919 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/0.5777, allocations: 16 kB / 0.6919 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5777, allocations: 3.984 kB / 0.6919 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.5882, allocations: 6.245 MB / 0.698 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.5882, allocations: 4 kB / 0.698 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.5888, allocations: 147.8 kB / 0.6982 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.5916, allocations: 1.082 MB / 0.6992 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/0.5917, allocations: 24 kB / 0.6992 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.607, allocations: 12.45 MB / 0.7114 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.6071, allocations: 7.938 kB / 0.7114 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.6122, allocations: 3.158 MB / 0.7145 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008597/0.6131, allocations: 425.4 kB / 0.7149 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.6134, allocations: 28 kB / 0.7149 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009376/0.6144, allocations: 83.89 kB / 0.715 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.6147, allocations: 136.6 kB / 0.7151 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.6148, allocations: 36 kB / 0.7152 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00106/0.6158, allocations: 0.7671 MB / 0.7159 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6158, allocations: 0 / 0.7159 GB, free: 14.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002087/0.6179, allocations: 0.6602 MB / 0.7166 GB, free: 14.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005247/0.6232, allocations: 3.736 MB / 0.7202 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004624/0.6278, allocations: 3.126 MB / 0.7233 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6278, allocations: 0.75 kB / 0.7233 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002866/0.6307, allocations: 1.974 MB / 0.7252 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.6339, allocations: 470.6 kB / 0.7256 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03431/0.6682, allocations: 21.37 MB / 0.7465 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.6713, allocations: 2.336 MB / 0.7488 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001148/0.6724, allocations: 350.1 kB / 0.7491 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.6737, allocations: 1.019 MB / 0.7501 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6737, allocations: 3.938 kB / 0.7501 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/0.7502, allocations: 49.32 MB / 0.7983 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.7504, allocations: 241 kB / 0.7985 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.327, allocations: 0 / 0.7985 GB, free: 9.961 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)