Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.00138/0.00138, allocations: 101.6 kB / 15.98 MB, free: 5.848 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.001325/0.001325, allocations: 191.8 kB / 16.9 MB, free: 5.73 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.264/1.264, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6819/0.6819, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 76.18 MB / 0.556 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005945/0.3059, allocations: 6.148 MB / 0.562 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.3101, allocations: 3.147 MB / 0.5651 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005965/0.3108, allocations: 28.41 kB / 0.5651 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.3129, allocations: 0.8792 MB / 0.566 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.314, allocations: 441.6 kB / 0.5664 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3153, allocations: 459.7 kB / 0.5669 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.3166, allocations: 1.102 MB / 0.5679 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.3176, allocations: 0.7102 MB / 0.5686 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007081/0.3183, allocations: 442.9 kB / 0.569 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.319, allocations: 489.4 kB / 0.5695 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3192, allocations: 58.97 kB / 0.5696 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.3201, allocations: 494.1 kB / 0.57 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.3204, allocations: 292.2 kB / 0.5703 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.321, allocations: 402.1 kB / 0.5707 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.3226, allocations: 1.203 MB / 0.5719 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3226, allocations: 0 / 0.5719 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3226, allocations: 0.5 kB / 0.5719 GB, free: 26.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.291e-05/0.3227, allocations: 1.75 kB / 0.5719 GB, free: 26.46 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002096/0.3248, allocations: 1.062 MB / 0.5729 GB, free: 25.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3248, allocations: 10.62 kB / 0.5729 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.325, allocations: 117.4 kB / 0.573 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.3267, allocations: 221.2 kB / 0.5733 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.3276, allocations: 0.5446 MB / 0.5738 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.3276, allocations: 45.95 kB / 0.5738 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3277, allocations: 66.23 kB / 0.5739 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.3291, allocations: 1.035 MB / 0.5749 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.3292, allocations: 15.97 kB / 0.5749 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.3292, allocations: 28.23 kB / 0.5749 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-05/0.3293, allocations: 70.41 kB / 0.575 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3304, allocations: 0.6892 MB / 0.5757 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.3345, allocations: 5.761 MB / 0.5813 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.3353, allocations: 0.5902 MB / 0.5819 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.336, allocations: 419.4 kB / 0.5823 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.336, allocations: 4.812 kB / 0.5823 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.336, allocations: 40.5 kB / 0.5823 GB, free: 18.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.903e-06/0.3361, allocations: 1.25 kB / 0.5823 GB, free: 18.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004198/0.3403, allocations: 2.055 MB / 0.5843 GB, free: 17.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.3403, allocations: 59.66 kB / 0.5844 GB, free: 17.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.3408, allocations: 464.9 kB / 0.5848 GB, free: 17.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3409, allocations: 31.3 kB / 0.5849 GB, free: 17.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3411, allocations: 386.1 kB / 0.5852 GB, free: 17.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.494e-05/0.3412, allocations: 151.3 kB / 0.5854 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3413, allocations: 113.7 kB / 0.5855 GB, free: 16.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.3414, allocations: 364.7 kB / 0.5858 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.3418, allocations: 248 kB / 0.5861 GB, free: 16.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.3422, allocations: 457.7 kB / 0.5865 GB, free: 16.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.343, allocations: 0.751 MB / 0.5872 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.343, allocations: 2.438 kB / 0.5872 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001888/0.3449, allocations: 1.067 MB / 0.5883 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3449, allocations: 8.5 kB / 0.5883 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3449, allocations: 7.188 kB / 0.5883 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.346, allocations: 341.2 kB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.3463, allocations: 98.05 kB / 0.5887 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/0.3517, allocations: 7.52 MB / 0.5961 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.3522, allocations: 30.56 kB / 0.5961 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.3523, allocations: 33.86 kB / 0.5961 GB, free: 8.281 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.3526, allocations: 244.4 kB / 0.5964 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3527, allocations: 60.19 kB / 0.5964 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.3542, allocations: 0.9182 MB / 0.5973 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3542, allocations: 11.56 kB / 0.5973 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.3543, allocations: 4.5 kB / 0.5973 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3543, allocations: 4.078 kB / 0.5973 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.3568, allocations: 1.71 MB / 0.599 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3568, allocations: 1.125 kB / 0.599 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.357, allocations: 42.56 kB / 0.599 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008621/0.3578, allocations: 327.8 kB / 0.5994 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.3579, allocations: 6.906 kB / 0.5994 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.3634, allocations: 7.515 MB / 0.6067 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3634, allocations: 3.938 kB / 0.6067 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.3651, allocations: 1.019 MB / 0.6077 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3654, allocations: 176.5 kB / 0.6079 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3655, allocations: 12 kB / 0.6079 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3658, allocations: 23.91 kB / 0.6079 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3659, allocations: 43.94 kB / 0.6079 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3659, allocations: 12 kB / 0.608 GB, free: 13.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003374/0.3663, allocations: 314.8 kB / 0.6083 GB, free: 12.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.3663, allocations: 0 / 0.6083 GB, free: 12.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008228/0.3671, allocations: 199.9 kB / 0.6084 GB, free: 12.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001928/0.3691, allocations: 1.554 MB / 0.61 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.371, allocations: 1.254 MB / 0.6112 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.371, allocations: 4 kB / 0.6112 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3722, allocations: 0.8504 MB / 0.612 GB, free: 8.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/0.3731, allocations: 214.5 kB / 0.6122 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.3813, allocations: 6.273 MB / 0.6184 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.3818, allocations: 0.9921 MB / 0.6193 GB, free: 1.117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.3822, allocations: 97.2 kB / 0.6194 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.3824, allocations: 227.4 kB / 0.6196 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3824, allocations: 0 / 0.6196 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.4454, allocations: 15.26 MB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.4456, allocations: 241.2 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.236, allocations: 0 / 0.6348 GB, free: 1.613 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)