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.0008434/0.0008433, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008365/0.0008365, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.277/1.277, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6782/0.6782, allocations: 113.7 MB / 405.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 8.656 kB / 493.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01859/0.1558, allocations: 20.51 MB / 0.5769 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.1646, allocations: 5.939 MB / 0.5827 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1658, allocations: 83.5 kB / 0.5828 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.1667, allocations: 424.7 kB / 0.5832 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2568/0.4235, allocations: 1.341 MB / 0.5845 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.4261, allocations: 0.819 MB / 0.5853 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008262/0.4344, allocations: 6.891 MB / 0.5921 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009549/0.444, allocations: 6.219 MB / 0.5981 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.4476, allocations: 1.813 MB / 0.5999 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.4513, allocations: 2.558 MB / 0.6024 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004271/0.4517, allocations: 204.4 kB / 0.6026 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.4533, allocations: 0.545 MB / 0.6031 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.455, allocations: 1.718 MB / 0.6048 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009079/0.4559, allocations: 0.7311 MB / 0.6055 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004442/0.4604, allocations: 6.005 MB / 0.6114 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4604, allocations: 0 / 0.6114 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4604, allocations: 0 / 0.6114 GB, free: 11.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001113/0.4605, allocations: 4 kB / 0.6114 GB, free: 11.39 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.00512/0.4656, allocations: 3.111 MB / 0.6144 GB, free: 9.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4657, allocations: 10.41 kB / 0.6144 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005949/0.4663, allocations: 0.4962 MB / 0.6149 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.4713, allocations: 1.217 MB / 0.6161 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.4743, allocations: 2.159 MB / 0.6182 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.4745, allocations: 233.7 kB / 0.6184 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/0.475, allocations: 317 kB / 0.6187 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/0.4824, allocations: 6.194 MB / 0.6248 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-05/0.4825, allocations: 15.78 kB / 0.6248 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.4828, allocations: 143.8 kB / 0.6249 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003422/0.4831, allocations: 402.3 kB / 0.6253 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006414/0.4895, allocations: 4.644 MB / 0.6299 GB, free: 13.37 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.02727/0.5168, allocations: 29.06 MB / 0.6582 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.5187, allocations: 1.414 MB / 0.6596 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.5204, allocations: 1.495 MB / 0.6611 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.5206, allocations: 17 kB / 0.6611 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.5206, allocations: 39.56 kB / 0.6611 GB, free: 10.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=110): time 3.407e-06/0.5206, allocations: 0 / 0.6611 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=179): time 0.1128/0.6334, allocations: 36.3 MB / 0.6966 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.6335, allocations: 73.41 kB / 0.6967 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.6356, allocations: 1.404 MB / 0.698 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.6358, allocations: 53.7 kB / 0.6981 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.6369, allocations: 1.542 MB / 0.6996 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005748/0.6375, allocations: 0.6119 MB / 0.7002 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.6377, allocations: 40 kB / 0.7002 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6379, allocations: 385.9 kB / 0.7006 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.6403, allocations: 1.776 MB / 0.7023 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.643, allocations: 2.346 MB / 0.7046 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.6456, allocations: 2.051 MB / 0.7066 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.6456, allocations: 7.953 kB / 0.7066 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01568/0.6613, allocations: 8.538 MB / 0.715 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.6614, allocations: 12 kB / 0.715 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.6614, allocations: 16.84 kB / 0.715 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.6737, allocations: 4.633 MB / 0.7195 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6748, allocations: 303.5 kB / 0.7198 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03923/0.7141, allocations: 29.44 MB / 0.7485 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.7161, allocations: 150.8 kB / 0.7487 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.7163, allocations: 87.94 kB / 0.7488 GB, free: 15.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002551/0.7189, allocations: 1.325 MB / 0.7501 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.7193, allocations: 201.7 kB / 0.7503 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/0.7356, allocations: 8.421 MB / 0.7585 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.7357, allocations: 16 kB / 0.7585 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.86e-05/0.7358, allocations: 27.95 kB / 0.7585 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/0.7358, allocations: 11.97 kB / 0.7585 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02439/0.7602, allocations: 12.83 MB / 0.7711 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.7603, allocations: 8 kB / 0.7711 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.761, allocations: 163.7 kB / 0.7712 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/0.7738, allocations: 4.487 MB / 0.7756 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/0.7741, allocations: 32 kB / 0.7756 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04177/0.8159, allocations: 29.07 MB / 0.804 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.816, allocations: 11.94 kB / 0.804 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.8318, allocations: 8.21 MB / 0.8121 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.8334, allocations: 0.6234 MB / 0.8127 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.8338, allocations: 40 kB / 0.8127 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8349, allocations: 136.2 kB / 0.8128 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007742/0.8357, allocations: 172.9 kB / 0.813 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.8359, allocations: 48 kB / 0.813 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001392/0.8373, allocations: 0.949 MB / 0.814 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8373, allocations: 0 / 0.814 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003619/0.8409, allocations: 1.117 MB / 0.8151 GB, free: 10.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01586/0.8568, allocations: 8.803 MB / 0.8237 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2902/1.147, allocations: 6.409 MB / 0.8299 GB, free: 222.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.147, allocations: 1.031 kB / 0.8299 GB, free: 222.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008884/1.156, allocations: 4.289 MB / 0.8341 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.159, allocations: 0.489 MB / 0.8346 GB, free: 222 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04492/1.204, allocations: 24.54 MB / 0.8585 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/1.206, allocations: 2.72 MB / 0.8612 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001152/1.207, allocations: 387.4 kB / 0.8616 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.208, allocations: 1.215 MB / 0.8628 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.242e-06/1.208, allocations: 0 / 0.8628 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09433/1.303, allocations: 78.66 MB / 0.9396 GB, free: 136 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.303, allocations: 228.2 kB / 0.9398 GB, free: 135.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/4.165, allocations: 3.938 kB / 0.9398 GB, free: 135.7 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/linux/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) Environment - environmentSimulation: