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.001536/0.001536, allocations: 98.58 kB / 16.26 MB, free: 5.93 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.00173/0.00173, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7528/0.7528, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.4912 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3291, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005377/0.3346, allocations: 4.279 MB / 0.5715 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.3377, allocations: 2.357 MB / 0.5738 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.3379, allocations: 17.34 kB / 0.5738 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.3389, allocations: 380.7 kB / 0.5742 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.3396, allocations: 373.5 kB / 0.5745 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.3402, allocations: 322.7 kB / 0.5748 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.3409, allocations: 0.683 MB / 0.5755 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.3413, allocations: 264.5 kB / 0.5757 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.3416, allocations: 254.6 kB / 0.576 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.3419, allocations: 266.9 kB / 0.5762 GB, free: 27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.3419, allocations: 30.91 kB / 0.5763 GB, free: 27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/0.3427, allocations: 428.7 kB / 0.5767 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.3428, allocations: 144 kB / 0.5768 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.343, allocations: 233.4 kB / 0.577 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.3439, allocations: 0.7251 MB / 0.5777 GB, free: 26.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.344, allocations: 1.812 kB / 0.5777 GB, free: 26.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.344, allocations: 0 / 0.5777 GB, free: 26.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.344, allocations: 1.438 kB / 0.5777 GB, free: 26.39 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.001028/0.345, allocations: 0.7879 MB / 0.5785 GB, free: 25.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3451, allocations: 9.438 kB / 0.5785 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.86e-05/0.3451, allocations: 83.08 kB / 0.5786 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.3465, allocations: 181 kB / 0.5788 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.3469, allocations: 404.7 kB / 0.5792 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3469, allocations: 24.19 kB / 0.5792 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.347, allocations: 33.73 kB / 0.5792 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.3477, allocations: 0.6568 MB / 0.5799 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3478, allocations: 5.812 kB / 0.5799 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.3478, allocations: 16.62 kB / 0.5799 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/0.3479, allocations: 53.16 kB / 0.5799 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006736/0.3486, allocations: 0.4926 MB / 0.5804 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.3508, allocations: 3.787 MB / 0.5841 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.3524, allocations: 0.6338 MB / 0.5847 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.3526, allocations: 178.5 kB / 0.5849 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3526, allocations: 8.891 kB / 0.5849 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3527, allocations: 40.91 kB / 0.5849 GB, free: 20.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.3527, allocations: 0.5 kB / 0.5849 GB, free: 20.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.00186/0.3545, allocations: 1.275 MB / 0.5862 GB, free: 19.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3546, allocations: 106.6 kB / 0.5863 GB, free: 19.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3549, allocations: 402.1 kB / 0.5867 GB, free: 19.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3549, allocations: 30.83 kB / 0.5867 GB, free: 19.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.355, allocations: 283.5 kB / 0.587 GB, free: 19.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3551, allocations: 117.8 kB / 0.5871 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3552, allocations: 99.16 kB / 0.5872 GB, free: 18.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.3553, allocations: 355.3 kB / 0.5875 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3555, allocations: 179.3 kB / 0.5877 GB, free: 18.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.3558, allocations: 373.3 kB / 0.5881 GB, free: 18.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.3563, allocations: 0.5869 MB / 0.5886 GB, free: 17.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3564, allocations: 1.562 kB / 0.5886 GB, free: 17.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009124/0.3573, allocations: 0.6802 MB / 0.5893 GB, free: 17.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3573, allocations: 12.66 kB / 0.5893 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3573, allocations: 7 kB / 0.5893 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.3576, allocations: 96.09 kB / 0.5894 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.358, allocations: 115.1 kB / 0.5895 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.3601, allocations: 4.347 MB / 0.5938 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3605, allocations: 26.7 kB / 0.5938 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3605, allocations: 27.89 kB / 0.5938 GB, free: 12.77 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.000198/0.3607, allocations: 202.9 kB / 0.594 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3608, allocations: 51.53 kB / 0.594 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.3616, allocations: 0.5149 MB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3616, allocations: 5.906 kB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3616, allocations: 1.375 kB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3616, allocations: 3.938 kB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.363, allocations: 1.29 MB / 0.5958 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.363, allocations: 11.31 kB / 0.5958 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.3632, allocations: 65.17 kB / 0.5959 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.3635, allocations: 82.55 kB / 0.596 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.3635, allocations: 12.72 kB / 0.596 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.3656, allocations: 4.341 MB / 0.6002 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3656, allocations: 7.078 kB / 0.6002 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.3663, allocations: 0.7671 MB / 0.601 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3665, allocations: 157.3 kB / 0.6011 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.3665, allocations: 17.62 kB / 0.6011 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.3668, allocations: 21.66 kB / 0.6012 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.3669, allocations: 34.38 kB / 0.6012 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3669, allocations: 9.781 kB / 0.6012 GB, free: 5.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.3672, allocations: 280.1 kB / 0.6015 GB, free: 5.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3672, allocations: 4 kB / 0.6015 GB, free: 5.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006459/0.3678, allocations: 120.6 kB / 0.6016 GB, free: 5.754 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.0008219/0.3687, allocations: 1.344 MB / 0.6029 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009258/0.3696, allocations: 0.8209 MB / 0.6037 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3696, allocations: 0 / 0.6037 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.3701, allocations: 0.5514 MB / 0.6043 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.371, allocations: 129.7 kB / 0.6044 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.3752, allocations: 4.593 MB / 0.6089 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3756, allocations: 0.8586 MB / 0.6097 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002623/0.3758, allocations: 104.5 kB / 0.6098 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.376, allocations: 151.4 kB / 0.6099 GB, free: 12.82 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.376, allocations: 0 / 0.6099 GB, free: 12.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.4066, allocations: 9.871 MB / 0.6196 GB, free: 3.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/9.149, allocations: 7.766 kB / 0.6196 GB, free: 3.156 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)