Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.001065/0.001065, allocations: 107 kB / 16.27 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.001076/0.001076, allocations: 186.9 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7746/0.7746, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 77.91 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.0041/0.3271, allocations: 2.616 MB / 0.5698 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3292, allocations: 1.568 MB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.3293, allocations: 2.688 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.33, allocations: 176.7 kB / 0.5715 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3303, allocations: 153.4 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.3307, allocations: 187.1 kB / 0.5719 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3309, allocations: 215.6 kB / 0.5721 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.3312, allocations: 124 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3313, allocations: 90.44 kB / 0.5723 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3315, allocations: 99.47 kB / 0.5724 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3315, allocations: 11.38 kB / 0.5724 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.3319, allocations: 210.5 kB / 0.5726 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.3319, allocations: 66.44 kB / 0.5727 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.332, allocations: 80.31 kB / 0.5727 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.3324, allocations: 302.4 kB / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3324, allocations: 2.062 kB / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3324, allocations: 0 / 0.573 GB, free: 29.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3324, allocations: 1.438 kB / 0.573 GB, free: 29.11 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005479/0.333, allocations: 475.8 kB / 0.5735 GB, free: 28.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.333, allocations: 9.875 kB / 0.5735 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.3331, allocations: 53.83 kB / 0.5735 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.3338, allocations: 90.7 kB / 0.5736 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.334, allocations: 232.7 kB / 0.5738 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.334, allocations: 9.344 kB / 0.5739 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.3341, allocations: 13.81 kB / 0.5739 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.3345, allocations: 301 kB / 0.5742 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3345, allocations: 6.312 kB / 0.5742 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.3346, allocations: 6.25 kB / 0.5742 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.3346, allocations: 17.83 kB / 0.5742 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.335, allocations: 222.9 kB / 0.5744 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.3365, allocations: 1.604 MB / 0.576 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.3368, allocations: 317.4 kB / 0.5763 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.3369, allocations: 63.89 kB / 0.5763 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3369, allocations: 1.875 kB / 0.5763 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.337, allocations: 42.08 kB / 0.5764 GB, free: 26.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.337, allocations: 0 / 0.5764 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004997/0.3375, allocations: 243.7 kB / 0.5766 GB, free: 26.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3375, allocations: 79.91 kB / 0.5767 GB, free: 26.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3377, allocations: 204.4 kB / 0.5769 GB, free: 26.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.3378, allocations: 29.7 kB / 0.5769 GB, free: 26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.3378, allocations: 162.2 kB / 0.5771 GB, free: 25.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3379, allocations: 35.86 kB / 0.5771 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.3379, allocations: 59.55 kB / 0.5771 GB, free: 25.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.338, allocations: 324.1 kB / 0.5775 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3382, allocations: 84.97 kB / 0.5775 GB, free: 25.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.3383, allocations: 158.8 kB / 0.5777 GB, free: 25.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.3386, allocations: 241.8 kB / 0.5779 GB, free: 25.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3386, allocations: 0 / 0.5779 GB, free: 25.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004569/0.3391, allocations: 267.7 kB / 0.5782 GB, free: 25.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3391, allocations: 9.453 kB / 0.5782 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3391, allocations: 3.094 kB / 0.5782 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3392, allocations: 8.5 kB / 0.5782 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3394, allocations: 54.78 kB / 0.5782 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3394, allocations: 8.891 kB / 0.5782 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3397, allocations: 27.83 kB / 0.5783 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3397, allocations: 8.547 kB / 0.5783 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001842/0.3399, allocations: 170.8 kB / 0.5784 GB, free: 24.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000152/0.3401, allocations: 158.8 kB / 0.5786 GB, free: 24.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002309/0.3403, allocations: 216.8 kB / 0.5788 GB, free: 24.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.3403, allocations: 3.406 kB / 0.5788 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000404/0.3407, allocations: 248.8 kB / 0.579 GB, free: 24.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.3407, allocations: 10.81 kB / 0.5791 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.3408, allocations: 3.375 kB / 0.5791 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.3408, allocations: 6.297 kB / 0.5791 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.341, allocations: 57.48 kB / 0.5791 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.341, allocations: 6.734 kB / 0.5791 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3412, allocations: 23.39 kB / 0.5791 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3412, allocations: 10.06 kB / 0.5792 GB, free: 24.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.3413, allocations: 197 kB / 0.5793 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3414, allocations: 15.75 kB / 0.5794 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.3416, allocations: 149.4 kB / 0.5795 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.3416, allocations: 3.25 kB / 0.5795 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3416, allocations: 5.922 kB / 0.5795 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3416, allocations: 2.109 kB / 0.5795 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.3424, allocations: 0.7223 MB / 0.5802 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3424, allocations: 3.25 kB / 0.5802 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3425, allocations: 23.38 kB / 0.5802 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3426, allocations: 4.094 kB / 0.5802 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3426, allocations: 3.125 kB / 0.5803 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3426, allocations: 8.281 kB / 0.5803 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3426, allocations: 4.812 kB / 0.5803 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3428, allocations: 387.6 kB / 0.5806 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.3429, allocations: 100.8 kB / 0.5807 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3429, allocations: 12.34 kB / 0.5807 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3431, allocations: 10.36 kB / 0.5808 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3432, allocations: 22.92 kB / 0.5808 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3432, allocations: 6 kB / 0.5808 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.3433, allocations: 153.4 kB / 0.5809 GB, free: 23.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3434, allocations: 1.438 kB / 0.5809 GB, free: 23.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.3439, allocations: 70.42 kB / 0.581 GB, free: 23.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003982/0.3443, allocations: 0.914 MB / 0.5819 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.3448, allocations: 287.1 kB / 0.5822 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3448, allocations: 0 / 0.5822 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.3449, allocations: 61.75 kB / 0.5822 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3453, allocations: 32.03 kB / 0.5823 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3476, allocations: 2.348 MB / 0.5845 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3478, allocations: 0.7371 MB / 0.5853 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.3481, allocations: 76.28 kB / 0.5853 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.3482, allocations: 44.98 kB / 0.5854 GB, free: 19.42 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3482, allocations: 1.656 kB / 0.5854 GB, free: 19.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.3663, allocations: 3.645 MB / 0.5889 GB, free: 17.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.325, allocations: 6.938 kB / 0.5889 GB, free: 17.66 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_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_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)