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.001496/0.001496, allocations: 102.6 kB / 16.4 MB, free: 6.477 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.001132/0.001132, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 70.84 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02429/0.1585, allocations: 22.57 MB / 0.6536 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.169, allocations: 6.24 MB / 0.6597 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.171, allocations: 99.5 kB / 0.6598 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.1755, allocations: 1.53 MB / 0.6613 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.18, allocations: 1.629 MB / 0.6629 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.184, allocations: 1.346 MB / 0.6642 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007887/0.1919, allocations: 5.939 MB / 0.67 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009756/0.2017, allocations: 6.06 MB / 0.6759 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/0.206, allocations: 2.442 MB / 0.6783 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004701/0.2107, allocations: 2.87 MB / 0.6811 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.2122, allocations: 460 kB / 0.6816 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.2151, allocations: 1.092 MB / 0.6826 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002781/0.2179, allocations: 2.031 MB / 0.6846 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003974/0.2219, allocations: 2.167 MB / 0.6867 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008429/0.2303, allocations: 7.3 MB / 0.6939 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2304, allocations: 4 kB / 0.6939 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2304, allocations: 0 / 0.6939 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002241/0.2306, allocations: 0 / 0.6939 GB, free: 4.898 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01069/0.2413, allocations: 3.809 MB / 0.6976 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2414, allocations: 11.97 kB / 0.6976 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001475/0.2428, allocations: 0.5015 MB / 0.6981 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/0.2496, allocations: 1.214 MB / 0.6993 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005872/0.2555, allocations: 2.34 MB / 0.7016 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.2557, allocations: 238.4 kB / 0.7018 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.2569, allocations: 315.9 kB / 0.7021 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.2702, allocations: 6.209 MB / 0.7082 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.656e-05/0.2703, allocations: 15.81 kB / 0.7082 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006138/0.2709, allocations: 143.9 kB / 0.7083 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004959/0.2714, allocations: 402.3 kB / 0.7087 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008881/0.2803, allocations: 4.666 MB / 0.7132 GB, free: 0.6523 MB / 0.545 GB 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.03193/0.3123, allocations: 28.95 MB / 0.7415 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.3143, allocations: 1.43 MB / 0.7429 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.3161, allocations: 1.483 MB / 0.7444 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3163, allocations: 9 kB / 0.7444 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.3163, allocations: 55.44 kB / 0.7444 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.366e-06/0.3163, allocations: 0 / 0.7444 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=179): time 0.4556/0.7719, allocations: 37.24 MB / 0.7808 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.772, allocations: 72.69 kB / 0.7809 GB, free: 112 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.7735, allocations: 1.42 MB / 0.7822 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.7737, allocations: 53.55 kB / 0.7823 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.7744, allocations: 1.539 MB / 0.7838 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006826/0.7751, allocations: 0.6086 MB / 0.7844 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000719/0.7758, allocations: 385.2 kB / 0.7848 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.7759, allocations: 301.1 kB / 0.785 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.7778, allocations: 1.785 MB / 0.7868 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.78, allocations: 2.35 MB / 0.7891 GB, free: 104.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.7843, allocations: 4.391 MB / 0.7934 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.7843, allocations: 4 kB / 0.7934 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01541/0.7997, allocations: 8.56 MB / 0.8017 GB, free: 91.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.7998, allocations: 16 kB / 0.8018 GB, free: 91.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.7998, allocations: 16 kB / 0.8018 GB, free: 91.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/0.813, allocations: 4.646 MB / 0.8063 GB, free: 86.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.8141, allocations: 303.5 kB / 0.8066 GB, free: 86.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03697/0.8511, allocations: 32.58 MB / 0.8384 GB, free: 53.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.8533, allocations: 151.8 kB / 0.8386 GB, free: 53.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.8536, allocations: 84 kB / 0.8386 GB, free: 53.01 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.001838/0.8554, allocations: 1.333 MB / 0.8399 GB, free: 51.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.8558, allocations: 198.2 kB / 0.8401 GB, free: 51.47 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.8706, allocations: 8.439 MB / 0.8484 GB, free: 42.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.8707, allocations: 23.94 kB / 0.8484 GB, free: 42.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.19e-05/0.8708, allocations: 27.94 kB / 0.8484 GB, free: 42.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.8708, allocations: 11.95 kB / 0.8484 GB, free: 42.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.8925, allocations: 12.85 MB / 0.861 GB, free: 29.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.8926, allocations: 4 kB / 0.861 GB, free: 29.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.8933, allocations: 163.8 kB / 0.8611 GB, free: 29.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/0.9065, allocations: 4.482 MB / 0.8655 GB, free: 25.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/0.9069, allocations: 44 kB / 0.8656 GB, free: 25.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03902/0.9459, allocations: 32.2 MB / 0.897 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.9459, allocations: 8 kB / 0.897 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/0.9626, allocations: 8.24 MB / 0.9051 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/0.9646, allocations: 0.616 MB / 0.9057 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005014/0.9651, allocations: 44.92 kB / 0.9057 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.9668, allocations: 135.8 kB / 0.9058 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008664/0.9677, allocations: 170 kB / 0.906 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.9678, allocations: 59.86 kB / 0.906 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001429/0.9693, allocations: 0.9549 MB / 0.907 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9693, allocations: 0 / 0.907 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003654/0.9729, allocations: 1.121 MB / 0.9081 GB, free: 12.75 MB / 0.6231 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.01681/0.9898, allocations: 8.832 MB / 0.9167 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.002, allocations: 6.527 MB / 0.9231 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.002, allocations: 4 kB / 0.9231 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.009347/1.012, allocations: 4.365 MB / 0.9273 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.015, allocations: 0.522 MB / 0.9278 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05974/1.074, allocations: 33.62 MB / 0.9607 GB, free: 5.754 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/1.078, allocations: 2.733 MB / 0.9634 GB, free: 2.984 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001086/1.079, allocations: 389.6 kB / 0.9637 GB, free: 2.609 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.08, allocations: 1.214 MB / 0.9649 GB, free: 1.395 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/1.081, allocations: 0 / 0.9649 GB, free: 1.395 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4466/1.527, allocations: 85.75 MB / 1.049 GB, free: 252.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.93, allocations: 4.141 kB / 1.049 GB, free: 252.7 MB / 0.7481 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)