Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001136/0.001136, allocations: 101.7 kB / 16.27 MB, free: 5.855 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.0009604/0.0009604, allocations: 190.8 kB / 17.19 MB, free: 5.508 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.22/1.22, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3265, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006653/0.3332, allocations: 4.271 MB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.3369, allocations: 2.366 MB / 0.5738 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.3371, allocations: 17.06 kB / 0.5738 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.3381, allocations: 376.2 kB / 0.5742 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008415/0.339, allocations: 368.9 kB / 0.5745 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.3397, allocations: 322.6 kB / 0.5748 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.3403, allocations: 0.6798 MB / 0.5755 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.3407, allocations: 276 kB / 0.5757 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.3409, allocations: 248.5 kB / 0.576 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.3412, allocations: 269.8 kB / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.3413, allocations: 29.16 kB / 0.5763 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.3419, allocations: 425.2 kB / 0.5767 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3421, allocations: 146.5 kB / 0.5768 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.3423, allocations: 240.4 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.3431, allocations: 0.7186 MB / 0.5777 GB, free: 26.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3431, allocations: 4.562 kB / 0.5777 GB, free: 26.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3431, allocations: 0.625 kB / 0.5777 GB, free: 26.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3431, allocations: 0 / 0.5777 GB, free: 26.35 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008725/0.344, allocations: 0.787 MB / 0.5785 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.344, allocations: 11.03 kB / 0.5785 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.3441, allocations: 75.91 kB / 0.5786 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3454, allocations: 188 kB / 0.5788 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3458, allocations: 404.8 kB / 0.5792 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3458, allocations: 31.11 kB / 0.5792 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.3459, allocations: 30.84 kB / 0.5792 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.3466, allocations: 0.6529 MB / 0.5799 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3466, allocations: 1.531 kB / 0.5799 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.3467, allocations: 26.62 kB / 0.5799 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.075e-05/0.3468, allocations: 59.11 kB / 0.5799 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.3474, allocations: 497.2 kB / 0.5804 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.3495, allocations: 3.791 MB / 0.5841 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.351, allocations: 0.6321 MB / 0.5847 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3512, allocations: 181.9 kB / 0.5849 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3512, allocations: 3 kB / 0.5849 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.3512, allocations: 34.62 kB / 0.5849 GB, free: 20.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.3513, allocations: 3.938 kB / 0.5849 GB, free: 20.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001776/0.353, allocations: 1.275 MB / 0.5862 GB, free: 19.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.3531, allocations: 108.4 kB / 0.5863 GB, free: 19.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.3534, allocations: 404.7 kB / 0.5867 GB, free: 19.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3534, allocations: 32.55 kB / 0.5867 GB, free: 19.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3535, allocations: 282.7 kB / 0.587 GB, free: 19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.3536, allocations: 121.3 kB / 0.5871 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3537, allocations: 98.31 kB / 0.5872 GB, free: 18.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.3538, allocations: 357.3 kB / 0.5875 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.354, allocations: 171.4 kB / 0.5877 GB, free: 18.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.3543, allocations: 382.8 kB / 0.5881 GB, free: 18.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.3548, allocations: 0.5928 MB / 0.5886 GB, free: 17.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3548, allocations: 5.375 kB / 0.5886 GB, free: 17.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008744/0.3557, allocations: 0.6743 MB / 0.5893 GB, free: 17.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3557, allocations: 8.219 kB / 0.5893 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3557, allocations: 6.719 kB / 0.5893 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.356, allocations: 101.3 kB / 0.5894 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3564, allocations: 110.6 kB / 0.5895 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.3585, allocations: 4.347 MB / 0.5938 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.3588, allocations: 30.12 kB / 0.5938 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.3589, allocations: 24.19 kB / 0.5938 GB, free: 12.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.359, allocations: 203.5 kB / 0.594 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.3591, allocations: 46.75 kB / 0.5941 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.3599, allocations: 0.511 MB / 0.5945 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3599, allocations: 7.516 kB / 0.5946 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3599, allocations: 1.312 kB / 0.5946 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3599, allocations: 5.281 kB / 0.5946 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.3613, allocations: 1.294 MB / 0.5958 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3613, allocations: 2.406 kB / 0.5958 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3615, allocations: 62.03 kB / 0.5959 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.3618, allocations: 86.38 kB / 0.596 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3618, allocations: 9.219 kB / 0.596 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.3639, allocations: 4.345 MB / 0.6002 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3639, allocations: 2.531 kB / 0.6002 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.3647, allocations: 0.779 MB / 0.601 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.3648, allocations: 152.8 kB / 0.6011 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.3649, allocations: 13.27 kB / 0.6011 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3652, allocations: 18.73 kB / 0.6012 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.3652, allocations: 42.33 kB / 0.6012 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.3653, allocations: 12.97 kB / 0.6012 GB, free: 5.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.3655, allocations: 280.9 kB / 0.6015 GB, free: 5.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3655, allocations: 0 / 0.6015 GB, free: 5.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006902/0.3662, allocations: 121.4 kB / 0.6016 GB, free: 5.688 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008397/0.3671, allocations: 1.325 MB / 0.6029 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009718/0.368, allocations: 0.8298 MB / 0.6037 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.368, allocations: 0 / 0.6037 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.3686, allocations: 0.5517 MB / 0.6042 GB, free: 3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/0.3694, allocations: 134.3 kB / 0.6044 GB, free: 2.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.3735, allocations: 4.585 MB / 0.6088 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3739, allocations: 0.8586 MB / 0.6097 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.3742, allocations: 104.5 kB / 0.6098 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3744, allocations: 155.4 kB / 0.6099 GB, free: 12.81 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3744, allocations: 0 / 0.6099 GB, free: 12.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.4051, allocations: 9.869 MB / 0.6196 GB, free: 3.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/9.007, allocations: 15.7 kB / 0.6196 GB, free: 3.141 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)