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.001249/0.001249, allocations: 103.6 kB / 15.98 MB, free: 6.355 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.001327/0.001327, allocations: 191.9 kB / 16.91 MB, free: 6.195 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 115.3 MB / 406.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.91 kB / 493.2 MB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3471, allocations: 76.16 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009551/0.3567, allocations: 10.04 MB / 0.5658 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004848/0.3616, allocations: 3.149 MB / 0.5689 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006867/0.3623, allocations: 32.94 kB / 0.5689 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.3638, allocations: 0.5379 MB / 0.5695 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.3653, allocations: 0.6864 MB / 0.5701 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.367, allocations: 0.6892 MB / 0.5708 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.3701, allocations: 3 MB / 0.5737 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.3737, allocations: 3.084 MB / 0.5768 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.3758, allocations: 1.263 MB / 0.578 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.378, allocations: 1.655 MB / 0.5796 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.3784, allocations: 236.1 kB / 0.5798 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3794, allocations: 0.4947 MB / 0.5803 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3804, allocations: 1.077 MB / 0.5814 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.3815, allocations: 1.115 MB / 0.5825 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.3856, allocations: 3.688 MB / 0.5861 GB, free: 19.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3856, allocations: 0 / 0.5861 GB, free: 19.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3856, allocations: 1.062 kB / 0.5861 GB, free: 19.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.341e-05/0.3857, allocations: 4 kB / 0.5861 GB, free: 19.65 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004152/0.3898, allocations: 2.141 MB / 0.5881 GB, free: 18.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3899, allocations: 9.469 kB / 0.5882 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003274/0.3902, allocations: 256.5 kB / 0.5884 GB, free: 17.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008471/0.3987, allocations: 1.32 MB / 0.5897 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.4013, allocations: 1.25 MB / 0.5909 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.4014, allocations: 123.7 kB / 0.591 GB, free: 16.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.4018, allocations: 145.9 kB / 0.5912 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.4062, allocations: 3.439 MB / 0.5945 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.4063, allocations: 4 kB / 0.5945 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.4065, allocations: 63.97 kB / 0.5946 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.4067, allocations: 207.1 kB / 0.5948 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.4105, allocations: 3.127 MB / 0.5978 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.4258, allocations: 13.61 MB / 0.6111 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.4285, allocations: 1.72 MB / 0.6128 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.4304, allocations: 1.448 MB / 0.6142 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.4305, allocations: 13 kB / 0.6142 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4306, allocations: 43.56 kB / 0.6143 GB, free: 7.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=104): time 3.908e-06/0.4306, allocations: 0 / 0.6143 GB, free: 7.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=183): time 0.1338/0.5644, allocations: 36.68 MB / 0.6501 GB, free: 2.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.5645, allocations: 73.41 kB / 0.6502 GB, free: 2.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.5661, allocations: 1.053 MB / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.5664, allocations: 57.7 kB / 0.6513 GB, free: 1.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/0.567, allocations: 0.7874 MB / 0.652 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000647/0.5676, allocations: 0.6277 MB / 0.6526 GB, free: 320 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008134/0.5684, allocations: 355.5 kB / 0.653 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.5685, allocations: 305.1 kB / 0.6533 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/0.5711, allocations: 1.928 MB / 0.6552 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.5739, allocations: 2.289 MB / 0.6574 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005707/0.5796, allocations: 4.394 MB / 0.6617 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.5796, allocations: 4 kB / 0.6617 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01939/0.599, allocations: 9.026 MB / 0.6705 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.5991, allocations: 8 kB / 0.6705 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.5991, allocations: 11.98 kB / 0.6705 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/0.6158, allocations: 5.006 MB / 0.6754 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/0.6167, allocations: 191.6 kB / 0.6756 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05365/0.6704, allocations: 38.92 MB / 0.7136 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.6725, allocations: 99.89 kB / 0.7137 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004865/0.673, allocations: 71.98 kB / 0.7138 GB, free: 0.8438 MB / 0.545 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.001984/0.675, allocations: 0.8056 MB / 0.7145 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.6755, allocations: 138.6 kB / 0.7147 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/0.6941, allocations: 8.89 MB / 0.7234 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.6942, allocations: 20 kB / 0.7234 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.798e-05/0.6943, allocations: 36 kB / 0.7234 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.6943, allocations: 7.969 kB / 0.7234 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/0.7203, allocations: 13.3 MB / 0.7364 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.7203, allocations: 7.938 kB / 0.7364 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.7208, allocations: 119.9 kB / 0.7365 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/0.7368, allocations: 4.796 MB / 0.7412 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/0.7372, allocations: 32 kB / 0.7412 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3055/1.043, allocations: 34.85 MB / 0.7753 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.043, allocations: 4.156 kB / 0.7753 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/1.062, allocations: 8.407 MB / 0.7835 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.064, allocations: 0.6125 MB / 0.7841 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006528/1.064, allocations: 33.05 kB / 0.7841 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.066, allocations: 93.97 kB / 0.7842 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.067, allocations: 169.3 kB / 0.7844 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/1.067, allocations: 43.22 kB / 0.7844 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001243/1.069, allocations: 0.7344 MB / 0.7851 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 0.7851 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004378/1.073, allocations: 1.01 MB / 0.7861 GB, free: 147.1 MB / 0.5762 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01643/1.09, allocations: 8.993 MB / 0.7949 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00981/1.099, allocations: 6.7 MB / 0.8014 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.099, allocations: 4 kB / 0.8015 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006619/1.106, allocations: 3.83 MB / 0.8052 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/1.108, allocations: 247.4 kB / 0.8054 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05114/1.159, allocations: 32.47 MB / 0.8371 GB, free: 96.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/1.161, allocations: 1.858 MB / 0.839 GB, free: 94.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008918/1.162, allocations: 356.5 kB / 0.8393 GB, free: 93.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007686/1.163, allocations: 0.6068 MB / 0.8399 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.163, allocations: 0 / 0.8399 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09206/1.255, allocations: 74.75 MB / 0.9129 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.255, allocations: 257.1 kB / 0.9131 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.89, allocations: 0 / 0.9131 GB, free: 18.71 MB / 0.5762 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)