Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0008936/0.0008936, 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.0009511/0.0009512, allocations: 182.8 kB / 16.92 MB, free: 6.688 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.284/1.284, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6581/0.6581, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 12 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 77.52 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02319/0.1652, allocations: 21.76 MB / 0.5813 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2439/0.4092, allocations: 6.163 MB / 0.5873 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.4111, allocations: 76.88 kB / 0.5874 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.4122, allocations: 441.5 kB / 0.5878 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.4163, allocations: 1.544 MB / 0.5893 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.4194, allocations: 1.1 MB / 0.5904 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.4297, allocations: 8.853 MB / 0.599 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.4398, allocations: 7.184 MB / 0.6061 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.4433, allocations: 1.766 MB / 0.6078 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.4469, allocations: 2.605 MB / 0.6103 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.4474, allocations: 205.3 kB / 0.6105 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.45, allocations: 1.027 MB / 0.6115 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.4517, allocations: 1.721 MB / 0.6132 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.4534, allocations: 1.819 MB / 0.615 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.4584, allocations: 6.97 MB / 0.6218 GB, free: 3.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4584, allocations: 3.938 kB / 0.6218 GB, free: 3.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4584, allocations: 0 / 0.6218 GB, free: 3.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001193/0.4585, allocations: 2.094 kB / 0.6218 GB, free: 3.879 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.004809/0.4634, allocations: 3.08 MB / 0.6248 GB, free: 1.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4634, allocations: 12.03 kB / 0.6248 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005464/0.464, allocations: 0.4937 MB / 0.6253 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/0.4693, allocations: 1.21 MB / 0.6265 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.4729, allocations: 2.215 MB / 0.6286 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.4731, allocations: 243.6 kB / 0.6289 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005781/0.4737, allocations: 320.1 kB / 0.6292 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.484, allocations: 6.212 MB / 0.6353 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.4841, allocations: 11.88 kB / 0.6353 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/0.4844, allocations: 141.4 kB / 0.6354 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005089/0.4849, allocations: 410.2 kB / 0.6358 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/0.4925, allocations: 4.662 MB / 0.6403 GB, free: 1.641 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.5205, allocations: 29.08 MB / 0.6687 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5224, allocations: 1.42 MB / 0.6701 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.5241, allocations: 1.485 MB / 0.6716 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.5242, allocations: 13 kB / 0.6716 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5242, allocations: 43.56 kB / 0.6716 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=110): time 2.324e-06/0.5242, allocations: 0 / 0.6716 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=179): time 0.1388/0.663, allocations: 36.32 MB / 0.7071 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.6631, allocations: 73.41 kB / 0.7072 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.6651, allocations: 1.419 MB / 0.7085 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.6654, allocations: 57.7 kB / 0.7086 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009983/0.6664, allocations: 1.54 MB / 0.7101 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006643/0.6671, allocations: 0.6107 MB / 0.7107 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.6674, allocations: 157.7 kB / 0.7109 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.6675, allocations: 305.1 kB / 0.7111 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002557/0.6701, allocations: 1.788 MB / 0.7129 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/0.673, allocations: 2.346 MB / 0.7152 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005782/0.6787, allocations: 4.396 MB / 0.7195 GB, free: 13.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.6788, allocations: 4 kB / 0.7195 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01788/0.6967, allocations: 8.555 MB / 0.7278 GB, free: 4.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.6967, allocations: 15.98 kB / 0.7278 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.6968, allocations: 16 kB / 0.7279 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01476/0.7115, allocations: 4.651 MB / 0.7324 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.7128, allocations: 295.5 kB / 0.7327 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04362/0.7564, allocations: 29.49 MB / 0.7615 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.7587, allocations: 152 kB / 0.7616 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.759, allocations: 87.94 kB / 0.7617 GB, free: 1.332 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002368/0.7614, allocations: 1.328 MB / 0.763 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004981/0.7619, allocations: 201.6 kB / 0.7632 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/0.7796, allocations: 8.441 MB / 0.7714 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.7797, allocations: 20 kB / 0.7715 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.951e-05/0.7798, allocations: 24 kB / 0.7715 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.7798, allocations: 7.969 kB / 0.7715 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02651/0.8063, allocations: 12.85 MB / 0.784 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/0.8064, allocations: 11.98 kB / 0.7841 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.8071, allocations: 163.8 kB / 0.7842 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/0.8215, allocations: 4.497 MB / 0.7886 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.8218, allocations: 32 kB / 0.7886 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0421/0.8639, allocations: 29.09 MB / 0.817 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.864, allocations: 15.88 kB / 0.817 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2559/1.12, allocations: 8.238 MB / 0.8251 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.121, allocations: 0.6189 MB / 0.8257 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/1.122, allocations: 39.3 kB / 0.8257 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.123, allocations: 139.3 kB / 0.8259 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007338/1.124, allocations: 173.6 kB / 0.826 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.124, allocations: 48.56 kB / 0.8261 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001273/1.125, allocations: 0.9562 MB / 0.827 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/1.125, allocations: 0 / 0.827 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003158/1.129, allocations: 1.115 MB / 0.8281 GB, free: 209.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01723/1.146, allocations: 8.837 MB / 0.8367 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.157, allocations: 6.43 MB / 0.843 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.157, allocations: 2.719 kB / 0.843 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00827/1.166, allocations: 4.291 MB / 0.8472 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.169, allocations: 494.2 kB / 0.8477 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05116/1.221, allocations: 36.73 MB / 0.8835 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/1.223, allocations: 2.723 MB / 0.8862 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001013/1.224, allocations: 392.4 kB / 0.8866 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009407/1.225, allocations: 1.214 MB / 0.8878 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/1.225, allocations: 4 kB / 0.8878 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08776/1.313, allocations: 78.72 MB / 0.9646 GB, free: 101.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/1.313, allocations: 245.1 kB / 0.9649 GB, free: 101.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/4.107, allocations: 0 / 0.9649 GB, free: 101.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)