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.001189/0.001193, allocations: 100.1 kB / 15.88 MB, free: 12 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.001206/0.001206, allocations: 204.3 kB / 16.79 MB, free: 6.84 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.223/1.223, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6289/0.6289, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 64.33 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.114, allocations: 76.18 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02013/0.1342, allocations: 22.4 MB / 0.5777 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2035/0.3377, allocations: 6.229 MB / 0.5838 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.3389, allocations: 82.25 kB / 0.5839 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.3416, allocations: 1.405 MB / 0.5853 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.3441, allocations: 1.549 MB / 0.5868 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.3463, allocations: 1.228 MB / 0.588 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007777/0.3541, allocations: 8.856 MB / 0.5966 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007652/0.3618, allocations: 6.746 MB / 0.6032 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.3649, allocations: 2.044 MB / 0.6052 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.3677, allocations: 2.968 MB / 0.6081 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.3682, allocations: 316.4 kB / 0.6084 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.3701, allocations: 1.134 MB / 0.6095 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.3714, allocations: 1.9 MB / 0.6114 GB, free: 9.727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.3728, allocations: 2.013 MB / 0.6133 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.3765, allocations: 7.182 MB / 0.6204 GB, free: 3.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3765, allocations: 0 / 0.6204 GB, free: 3.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3765, allocations: 0 / 0.6204 GB, free: 3.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.372e-05/0.3766, allocations: 2.688 kB / 0.6204 GB, free: 3.363 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.004807/0.3814, allocations: 3.813 MB / 0.6241 GB, free: 100 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3814, allocations: 12.03 kB / 0.6241 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005891/0.382, allocations: 0.5039 MB / 0.6246 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/0.3874, allocations: 1.212 MB / 0.6258 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.3903, allocations: 2.218 MB / 0.6279 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.3905, allocations: 241.9 kB / 0.6282 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.3909, allocations: 315.2 kB / 0.6285 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007685/0.3986, allocations: 6.212 MB / 0.6345 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/0.3987, allocations: 15.78 kB / 0.6345 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.399, allocations: 137.3 kB / 0.6347 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004024/0.3994, allocations: 414.3 kB / 0.6351 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005878/0.4053, allocations: 4.658 MB / 0.6396 GB, free: 15.96 MB / 478.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.02354/0.4288, allocations: 29.13 MB / 0.6681 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.4305, allocations: 1.42 MB / 0.6695 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.4321, allocations: 1.49 MB / 0.6709 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.4322, allocations: 13 kB / 0.6709 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4323, allocations: 51.55 kB / 0.671 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=110): time 2.715e-06/0.4323, allocations: 0 / 0.671 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=179): time 0.1183/0.5506, allocations: 37.21 MB / 0.7073 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.5507, allocations: 69.41 kB / 0.7074 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5523, allocations: 1.431 MB / 0.7088 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.5525, allocations: 57.7 kB / 0.7088 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008003/0.5533, allocations: 1.536 MB / 0.7103 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.5538, allocations: 0.6117 MB / 0.7109 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/0.5545, allocations: 383.3 kB / 0.7113 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.5546, allocations: 301.1 kB / 0.7116 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.5568, allocations: 1.788 MB / 0.7133 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.5592, allocations: 2.35 MB / 0.7156 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/0.5641, allocations: 4.391 MB / 0.7199 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.5641, allocations: 12 kB / 0.7199 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01535/0.5795, allocations: 8.562 MB / 0.7283 GB, free: 2.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5795, allocations: 12.94 kB / 0.7283 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.5796, allocations: 20 kB / 0.7283 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01336/0.5929, allocations: 4.625 MB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.594, allocations: 303.4 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03792/0.6319, allocations: 29.67 MB / 0.7621 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.6337, allocations: 147.8 kB / 0.7622 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.6339, allocations: 84 kB / 0.7623 GB, free: 14.49 MB / 0.5919 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.001926/0.6358, allocations: 1.336 MB / 0.7636 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.6361, allocations: 193.7 kB / 0.7638 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/0.6514, allocations: 8.433 MB / 0.772 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.6515, allocations: 24 kB / 0.7721 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.334e-05/0.6515, allocations: 24 kB / 0.7721 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.6515, allocations: 11.95 kB / 0.7721 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/0.6726, allocations: 12.85 MB / 0.7847 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.6726, allocations: 8.188 kB / 0.7847 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.6732, allocations: 167.7 kB / 0.7848 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.6863, allocations: 4.48 MB / 0.7892 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.6864, allocations: 40 kB / 0.7892 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03627/0.7227, allocations: 29.27 MB / 0.8178 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7227, allocations: 4 kB / 0.8178 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2002/0.923, allocations: 8.241 MB / 0.8259 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9242, allocations: 0.6163 MB / 0.8265 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.9245, allocations: 35.7 kB / 0.8265 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.9256, allocations: 136.8 kB / 0.8266 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/0.9263, allocations: 169.5 kB / 0.8268 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.9265, allocations: 51.91 kB / 0.8268 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001144/0.9276, allocations: 0.9601 MB / 0.8278 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9276, allocations: 0 / 0.8278 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002546/0.9302, allocations: 1.117 MB / 0.8289 GB, free: 212.3 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.01461/0.9448, allocations: 8.837 MB / 0.8375 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009452/0.9543, allocations: 6.517 MB / 0.8439 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9543, allocations: 1.188 kB / 0.8439 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006804/0.9611, allocations: 4.363 MB / 0.8481 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.9631, allocations: 496.2 kB / 0.8486 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/1.006, allocations: 36.73 MB / 0.8845 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.008, allocations: 2.73 MB / 0.8871 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008046/1.009, allocations: 392.9 kB / 0.8875 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008579/1.01, allocations: 1.214 MB / 0.8887 GB, free: 178 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/1.01, allocations: 0 / 0.8887 GB, free: 178 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.871/3.88, allocations: 80.93 MB / 0.9677 GB, free: 97.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/3.881, allocations: 257.8 kB / 0.968 GB, free: 97.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/6.546, allocations: 0 / 0.968 GB, free: 97.32 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)