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.001392/0.001392, allocations: 102.8 kB / 16.4 MB, free: 6.5 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.001601/0.001601, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7001/0.7001, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 69.69 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1458, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01199/0.1579, allocations: 10.07 MB / 0.6414 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.1638, allocations: 3.178 MB / 0.6445 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.1648, allocations: 39.81 kB / 0.6446 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.1669, allocations: 0.5966 MB / 0.6452 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1689, allocations: 0.7388 MB / 0.6459 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.171, allocations: 0.7408 MB / 0.6466 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.1747, allocations: 2.988 MB / 0.6495 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003675/0.1784, allocations: 2.589 MB / 0.652 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.1808, allocations: 1.27 MB / 0.6533 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.1835, allocations: 1.554 MB / 0.6548 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007931/0.1843, allocations: 236 kB / 0.655 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.186, allocations: 0.5032 MB / 0.6555 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.1879, allocations: 1.072 MB / 0.6566 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.1901, allocations: 1.112 MB / 0.6577 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.1945, allocations: 3.686 MB / 0.6613 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1945, allocations: 0 / 0.6613 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1945, allocations: 0 / 0.6613 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.00012/0.1947, allocations: 0 / 0.6613 GB, free: 6.379 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.005217/0.1999, allocations: 2.146 MB / 0.6634 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1999, allocations: 8.031 kB / 0.6634 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00057/0.2005, allocations: 257.2 kB / 0.6636 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00896/0.2095, allocations: 1.317 MB / 0.6649 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.2126, allocations: 1.294 MB / 0.6662 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2127, allocations: 127.3 kB / 0.6663 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006618/0.2134, allocations: 144.3 kB / 0.6664 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006542/0.2199, allocations: 3.437 MB / 0.6698 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/0.22, allocations: 11.84 kB / 0.6698 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004104/0.2205, allocations: 63.97 kB / 0.6698 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.2207, allocations: 203.1 kB / 0.67 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005443/0.2262, allocations: 3.131 MB / 0.6731 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.2466, allocations: 13.54 MB / 0.6863 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.2494, allocations: 1.727 MB / 0.688 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.2515, allocations: 1.44 MB / 0.6894 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.2517, allocations: 9 kB / 0.6894 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.2517, allocations: 43.56 kB / 0.6895 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.757e-06/0.2518, allocations: 4 kB / 0.6895 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.1511/0.4029, allocations: 36.69 MB / 0.7253 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.403, allocations: 69.41 kB / 0.7254 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.4046, allocations: 1.057 MB / 0.7264 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004056/0.405, allocations: 53.7 kB / 0.7264 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.4055, allocations: 0.7874 MB / 0.7272 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007741/0.4063, allocations: 0.6238 MB / 0.7278 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009237/0.4073, allocations: 367.3 kB / 0.7282 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.4074, allocations: 301.1 kB / 0.7285 GB, free: 228 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/0.41, allocations: 1.928 MB / 0.7303 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.4129, allocations: 2.285 MB / 0.7326 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005626/0.4186, allocations: 4.39 MB / 0.7369 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/0.4186, allocations: 4 kB / 0.7369 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.3191/0.7377, allocations: 9.023 MB / 0.7457 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.7378, allocations: 9.188 kB / 0.7457 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.7378, allocations: 9.625 kB / 0.7457 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01822/0.7561, allocations: 4.973 MB / 0.7506 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.7569, allocations: 196.1 kB / 0.7507 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05879/0.8157, allocations: 38.89 MB / 0.7887 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.8186, allocations: 99.89 kB / 0.7888 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/0.819, allocations: 68 kB / 0.7889 GB, free: 76.89 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.001428/0.8204, allocations: 0.804 MB / 0.7897 GB, free: 76.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.8207, allocations: 142.3 kB / 0.7898 GB, free: 75.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/0.8386, allocations: 8.894 MB / 0.7985 GB, free: 67.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.8387, allocations: 18.3 kB / 0.7985 GB, free: 67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/0.8388, allocations: 32 kB / 0.7985 GB, free: 66.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.8388, allocations: 11.91 kB / 0.7985 GB, free: 66.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0249/0.8637, allocations: 13.39 MB / 0.8116 GB, free: 53.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/0.8638, allocations: 4 kB / 0.8116 GB, free: 53.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.8643, allocations: 123.8 kB / 0.8117 GB, free: 53.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01587/0.8802, allocations: 4.84 MB / 0.8165 GB, free: 48.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/0.8809, allocations: 32 kB / 0.8165 GB, free: 48.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04586/0.9267, allocations: 36.83 MB / 0.8525 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9268, allocations: 4 kB / 0.8525 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/0.9441, allocations: 8.604 MB / 0.8609 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/0.9457, allocations: 0.632 MB / 0.8615 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.9462, allocations: 39.98 kB / 0.8615 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.9478, allocations: 91.83 kB / 0.8616 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/0.9486, allocations: 165.6 kB / 0.8618 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/0.9488, allocations: 51.66 kB / 0.8618 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008961/0.9497, allocations: 0.7382 MB / 0.8625 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9497, allocations: 0 / 0.8625 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002944/0.9526, allocations: 1.004 MB / 0.8635 GB, free: 15.66 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.02009/0.9727, allocations: 9.179 MB / 0.8725 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01115/0.9839, allocations: 5.948 MB / 0.8783 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.984, allocations: 0 / 0.8783 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009137/0.9931, allocations: 3.947 MB / 0.8822 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.9952, allocations: 236.4 kB / 0.8824 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06206/1.057, allocations: 31.02 MB / 0.9127 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.059, allocations: 1.859 MB / 0.9145 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008657/1.06, allocations: 352.2 kB / 0.9148 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007382/1.061, allocations: 0.6047 MB / 0.9154 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.061, allocations: 0 / 0.9154 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.185, allocations: 77.88 MB / 0.9915 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.45, allocations: 11.92 kB / 0.9915 GB, free: 12.27 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)