Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001117/0.001117, allocations: 109 kB / 16.41 MB, free: 6.48 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.001118/0.001118, allocations: 193.8 kB / 17.34 MB, free: 5.762 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6762/0.6762, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.81 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1284, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01158/0.1401, allocations: 10.06 MB / 0.6414 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.1452, allocations: 3.182 MB / 0.6445 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.1458, allocations: 35.81 kB / 0.6446 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1473, allocations: 0.5985 MB / 0.6452 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.1488, allocations: 0.7856 MB / 0.6459 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1501, allocations: 0.7392 MB / 0.6466 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.1529, allocations: 2.996 MB / 0.6496 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/0.1558, allocations: 2.585 MB / 0.6521 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.1575, allocations: 1.262 MB / 0.6533 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.1594, allocations: 1.558 MB / 0.6548 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.1596, allocations: 236 kB / 0.6551 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007947/0.1604, allocations: 0.5033 MB / 0.6556 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.1613, allocations: 1.076 MB / 0.6566 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009405/0.1622, allocations: 1.109 MB / 0.6577 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.165, allocations: 3.682 MB / 0.6613 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1651, allocations: 3.984 kB / 0.6613 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1651, allocations: 0 / 0.6613 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.004e-05/0.1651, allocations: 4 kB / 0.6613 GB, free: 6.34 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00333/0.1684, allocations: 2.142 MB / 0.6634 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1685, allocations: 16.03 kB / 0.6634 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002924/0.1688, allocations: 257.2 kB / 0.6637 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007642/0.1764, allocations: 1.309 MB / 0.6649 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.1783, allocations: 1.302 MB / 0.6662 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.1784, allocations: 111.4 kB / 0.6663 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.1787, allocations: 148.3 kB / 0.6664 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.183, allocations: 3.441 MB / 0.6698 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.1831, allocations: 11.84 kB / 0.6698 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.1833, allocations: 59.97 kB / 0.6699 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.1835, allocations: 207.1 kB / 0.6701 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.1877, allocations: 3.127 MB / 0.6731 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.2022, allocations: 13.54 MB / 0.6864 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.2046, allocations: 1.735 MB / 0.688 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.2065, allocations: 1.44 MB / 0.6895 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.2066, allocations: 16.92 kB / 0.6895 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2067, allocations: 43.56 kB / 0.6895 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.555e-06/0.2067, allocations: 4 kB / 0.6895 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.1198/0.3264, allocations: 36.69 MB / 0.7253 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3265, allocations: 69.41 kB / 0.7254 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.3278, allocations: 1.053 MB / 0.7264 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.328, allocations: 53.7 kB / 0.7265 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.3285, allocations: 0.7913 MB / 0.7273 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006095/0.3291, allocations: 0.6238 MB / 0.7279 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.3298, allocations: 363.3 kB / 0.7282 GB, free: 488 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.3299, allocations: 305.1 kB / 0.7285 GB, free: 180 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.3325, allocations: 1.932 MB / 0.7304 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.3353, allocations: 2.285 MB / 0.7326 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/0.3408, allocations: 4.39 MB / 0.7369 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/0.3408, allocations: 0 / 0.7369 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.2676/0.6085, allocations: 9.024 MB / 0.7457 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6085, allocations: 8.344 kB / 0.7457 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.6086, allocations: 9.891 kB / 0.7457 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/0.6238, allocations: 4.971 MB / 0.7506 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.6246, allocations: 194.3 kB / 0.7508 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04386/0.6685, allocations: 38.89 MB / 0.7888 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6699, allocations: 103.8 kB / 0.7889 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6701, allocations: 68 kB / 0.7889 GB, free: 76.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009206/0.671, allocations: 0.804 MB / 0.7897 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.6712, allocations: 142.3 kB / 0.7898 GB, free: 75.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.6858, allocations: 8.891 MB / 0.7985 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6859, allocations: 24 kB / 0.7985 GB, free: 66.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/0.6859, allocations: 30.41 kB / 0.7986 GB, free: 66.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6859, allocations: 7.969 kB / 0.7986 GB, free: 66.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/0.705, allocations: 13.4 MB / 0.8117 GB, free: 53.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.7051, allocations: 4 kB / 0.8117 GB, free: 53.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.7055, allocations: 119.8 kB / 0.8118 GB, free: 53.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/0.7191, allocations: 4.838 MB / 0.8165 GB, free: 48.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.7193, allocations: 35.98 kB / 0.8165 GB, free: 48.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0376/0.7569, allocations: 36.82 MB / 0.8525 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.757, allocations: 13.89 kB / 0.8525 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.7711, allocations: 8.609 MB / 0.8609 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.772, allocations: 0.632 MB / 0.8615 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.7722, allocations: 32 kB / 0.8616 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009558/0.7732, allocations: 91.89 kB / 0.8617 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000614/0.7738, allocations: 175.3 kB / 0.8618 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.774, allocations: 48 kB / 0.8619 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006599/0.7746, allocations: 0.7382 MB / 0.8626 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7746, allocations: 0 / 0.8626 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002283/0.7769, allocations: 1.004 MB / 0.8636 GB, free: 15.61 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01706/0.794, allocations: 9.186 MB / 0.8725 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009216/0.8032, allocations: 5.94 MB / 0.8783 GB, free: 372 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.8033, allocations: 4 kB / 0.8783 GB, free: 368 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007145/0.8104, allocations: 3.939 MB / 0.8822 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.8119, allocations: 233.9 kB / 0.8824 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05186/0.8638, allocations: 31.02 MB / 0.9127 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.8653, allocations: 1.855 MB / 0.9145 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007166/0.866, allocations: 352.5 kB / 0.9149 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/0.8667, allocations: 0.6047 MB / 0.9154 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of SimCode: time 1.262e-06/0.8667, allocations: 7.938 kB / 0.9155 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.9756, allocations: 76.14 MB / 0.9898 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.14, allocations: 7.922 kB / 0.9898 GB, free: 13.98 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)