Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.0009931/0.0009931, allocations: 92.55 kB / 15.7 MB, free: 472 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.00109/0.00109, allocations: 173.4 kB / 16.58 MB, free: 5.672 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.295/1.295, allocations: 223.3 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 12 kB / 493.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02202/0.1795, allocations: 21.24 MB / 0.5776 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1909, allocations: 6.198 MB / 0.5837 GB, free: 148 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.1932, allocations: 83.5 kB / 0.5838 GB, free: 64 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2776/0.4709, allocations: 453 kB / 0.5842 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004692/0.4756, allocations: 1.543 MB / 0.5857 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.4788, allocations: 0.9104 MB / 0.5866 GB, free: 16.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01265/0.4915, allocations: 8.212 MB / 0.5946 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.5045, allocations: 7.093 MB / 0.6016 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.5095, allocations: 2.139 MB / 0.6036 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.5157, allocations: 3.136 MB / 0.6067 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.5169, allocations: 243.6 kB / 0.6069 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.5199, allocations: 0.5903 MB / 0.6075 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002861/0.5228, allocations: 2.105 MB / 0.6096 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.5246, allocations: 0.8481 MB / 0.6104 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006833/0.5315, allocations: 7.007 MB / 0.6172 GB, free: 8.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.5315, allocations: 0 / 0.6172 GB, free: 8.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5315, allocations: 0 / 0.6172 GB, free: 8.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002943/0.5318, allocations: 0 / 0.6172 GB, free: 8.129 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007756/0.5396, allocations: 3.609 MB / 0.6208 GB, free: 5.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5396, allocations: 9.406 kB / 0.6208 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001349/0.541, allocations: 0.5796 MB / 0.6213 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007612/0.5486, allocations: 1.682 MB / 0.623 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004701/0.5534, allocations: 2.506 MB / 0.6254 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.5535, allocations: 277 kB / 0.6257 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009237/0.5544, allocations: 366 kB / 0.626 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.5696, allocations: 7.458 MB / 0.6333 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-05/0.5697, allocations: 7.938 kB / 0.6333 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/0.5702, allocations: 159.2 kB / 0.6335 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005948/0.5708, allocations: 487.3 kB / 0.634 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.5819, allocations: 5.681 MB / 0.6395 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.6189, allocations: 31.68 MB / 0.6704 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.6218, allocations: 2.084 MB / 0.6725 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.6247, allocations: 2.178 MB / 0.6746 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.6249, allocations: 13.31 kB / 0.6746 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.625, allocations: 51.88 kB / 0.6747 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=146): time 3.307e-06/0.625, allocations: 0 / 0.6747 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=251): time 0.2503/0.8753, allocations: 75.24 MB / 0.7481 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.8754, allocations: 81.41 kB / 0.7482 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/0.8779, allocations: 1.654 MB / 0.7498 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004577/0.8784, allocations: 65.7 kB / 0.7499 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.8796, allocations: 1.743 MB / 0.7516 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.8806, allocations: 0.8545 MB / 0.7524 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.8809, allocations: 56 kB / 0.7525 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.8811, allocations: 415.1 kB / 0.7529 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.8847, allocations: 2.718 MB / 0.7555 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/0.8887, allocations: 3.321 MB / 0.7588 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.8929, allocations: 3.056 MB / 0.7618 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.8929, allocations: 4 kB / 0.7618 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02886/0.9218, allocations: 14.64 MB / 0.7761 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.9218, allocations: 15.95 kB / 0.7761 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.9219, allocations: 16 kB / 0.7761 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02589/0.9478, allocations: 9.237 MB / 0.7851 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.949, allocations: 303.4 kB / 0.7854 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3604/1.309, allocations: 47.06 MB / 0.8314 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.312, allocations: 220.8 kB / 0.8316 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/1.313, allocations: 97.88 kB / 0.8317 GB, free: 207.7 MB / 0.6387 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 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003583/1.316, allocations: 1.585 MB / 0.8332 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/1.317, allocations: 241.1 kB / 0.8334 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/1.349, allocations: 14.72 MB / 0.8478 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/1.349, allocations: 24.78 kB / 0.8478 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001524/1.349, allocations: 47.5 kB / 0.8479 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/1.35, allocations: 14.81 kB / 0.8479 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03591/1.385, allocations: 20.48 MB / 0.8679 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/1.386, allocations: 10.56 kB / 0.8679 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000794/1.386, allocations: 164.4 kB / 0.8681 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0248/1.411, allocations: 8.996 MB / 0.8769 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006649/1.412, allocations: 47.56 kB / 0.8769 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06224/1.474, allocations: 46.69 MB / 0.9225 GB, free: 149.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.474, allocations: 7.938 kB / 0.9225 GB, free: 149.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02669/1.501, allocations: 14.33 MB / 0.9365 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.503, allocations: 0.8542 MB / 0.9373 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/1.504, allocations: 48 kB / 0.9374 GB, free: 134.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.506, allocations: 207.7 kB / 0.9376 GB, free: 134.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/1.508, allocations: 241.3 kB / 0.9378 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.508, allocations: 64 kB / 0.9379 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001487/1.509, allocations: 1.106 MB / 0.939 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.509, allocations: 0 / 0.939 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005267/1.515, allocations: 1.613 MB / 0.9405 GB, free: 131.1 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 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02475/1.539, allocations: 14.95 MB / 0.9551 GB, free: 116 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01876/1.558, allocations: 10.33 MB / 0.9652 GB, free: 105.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.558, allocations: 4 kB / 0.9652 GB, free: 105.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0141/1.572, allocations: 7.139 MB / 0.9722 GB, free: 98.44 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.575, allocations: 0.5185 MB / 0.9727 GB, free: 97.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06185/1.637, allocations: 35.91 MB / 1.008 GB, free: 60.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/1.641, allocations: 3.224 MB / 1.011 GB, free: 57.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001262/1.642, allocations: 399.3 kB / 1.011 GB, free: 57.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.644, allocations: 1.483 MB / 1.013 GB, free: 55.55 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/1.644, allocations: 4 kB / 1.013 GB, free: 55.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4178/2.061, allocations: 112.4 MB / 1.122 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/2.062, allocations: 229.5 kB / 1.123 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/5.274, allocations: 0 / 1.123 GB, free: 177.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: