Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_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.00457/0.00457, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001366/0.001366, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 279.2 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002788, allocations: 101.9 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1644, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006342/0.1708, allocations: 4.273 MB / 0.7701 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003873/0.1747, allocations: 2.369 MB / 0.7724 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.1749, allocations: 19.88 kB / 0.7724 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.1761, allocations: 382.1 kB / 0.7728 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007981/0.1769, allocations: 378.1 kB / 0.7731 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.1777, allocations: 318.6 kB / 0.7734 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.1784, allocations: 0.6906 MB / 0.7741 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.1788, allocations: 258.2 kB / 0.7744 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.1791, allocations: 254.9 kB / 0.7746 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3079/0.487, allocations: 260.3 kB / 0.7749 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.4871, allocations: 29.38 kB / 0.7749 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000797/0.4879, allocations: 435.3 kB / 0.7753 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.4881, allocations: 143.9 kB / 0.7754 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.4883, allocations: 239.8 kB / 0.7757 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.4892, allocations: 0.7329 MB / 0.7764 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4893, allocations: 0.6875 kB / 0.7764 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4893, allocations: 0 / 0.7764 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4893, allocations: 2.719 kB / 0.7764 GB, free: 8.73 MB / 0.5606 GB 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.0009965/0.4903, allocations: 0.802 MB / 0.7772 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4903, allocations: 14.69 kB / 0.7772 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.4904, allocations: 73.92 kB / 0.7772 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.4918, allocations: 186.5 kB / 0.7774 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.4924, allocations: 447.6 kB / 0.7779 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4924, allocations: 26.17 kB / 0.7779 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.4925, allocations: 31.45 kB / 0.7779 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.4933, allocations: 0.6553 MB / 0.7785 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4934, allocations: 6.156 kB / 0.7786 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.4934, allocations: 16.48 kB / 0.7786 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.809e-05/0.4935, allocations: 51.98 kB / 0.7786 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.4942, allocations: 0.4901 MB / 0.7791 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.4967, allocations: 3.791 MB / 0.7828 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.4982, allocations: 0.6262 MB / 0.7834 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.4984, allocations: 183.5 kB / 0.7836 GB, free: 20.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4985, allocations: 6.391 kB / 0.7836 GB, free: 20.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.4985, allocations: 39.91 kB / 0.7836 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.4985, allocations: 0 / 0.7836 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002094/0.5006, allocations: 1.288 MB / 0.7849 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.5007, allocations: 111.1 kB / 0.785 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.5011, allocations: 406.2 kB / 0.7854 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.5011, allocations: 31.3 kB / 0.7854 GB, free: 19.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.5012, allocations: 289.8 kB / 0.7857 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.5013, allocations: 120.8 kB / 0.7858 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5014, allocations: 99.67 kB / 0.7859 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5016, allocations: 350.6 kB / 0.7862 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.5019, allocations: 177.3 kB / 0.7864 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.5022, allocations: 375.9 kB / 0.7868 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.5027, allocations: 0.5862 MB / 0.7873 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5027, allocations: 6.719 kB / 0.7873 GB, free: 18.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009241/0.5037, allocations: 0.6789 MB / 0.788 GB, free: 17.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5037, allocations: 7.422 kB / 0.788 GB, free: 17.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5037, allocations: 6.469 kB / 0.788 GB, free: 17.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.504, allocations: 99.77 kB / 0.7881 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.5044, allocations: 115.2 kB / 0.7882 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.5079, allocations: 4.347 MB / 0.7925 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.5082, allocations: 31.58 kB / 0.7925 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5083, allocations: 27.48 kB / 0.7925 GB, free: 13.65 MB / 0.5762 GB 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.0002279/0.5085, allocations: 196.1 kB / 0.7927 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.5086, allocations: 48.72 kB / 0.7928 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008404/0.5095, allocations: 0.5261 MB / 0.7933 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5095, allocations: 6.844 kB / 0.7933 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5095, allocations: 0 / 0.7933 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5095, allocations: 4.875 kB / 0.7933 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5112, allocations: 1.287 MB / 0.7945 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5113, allocations: 3.875 kB / 0.7945 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.5115, allocations: 60.02 kB / 0.7946 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.5117, allocations: 94.23 kB / 0.7947 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5118, allocations: 9.406 kB / 0.7947 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.5151, allocations: 4.341 MB / 0.7989 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5151, allocations: 3.25 kB / 0.7989 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.516, allocations: 0.7867 MB / 0.7997 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.5161, allocations: 153.7 kB / 0.7999 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.5162, allocations: 9.109 kB / 0.7999 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.5165, allocations: 22.55 kB / 0.7999 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.5166, allocations: 39.39 kB / 0.7999 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.5166, allocations: 16.22 kB / 0.7999 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000279/0.5169, allocations: 277.4 kB / 0.8002 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5169, allocations: 0 / 0.8002 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006508/0.5176, allocations: 124.6 kB / 0.8003 GB, free: 7.32 MB / 0.5762 GB 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.00117/0.5187, allocations: 1.327 MB / 0.8016 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.52, allocations: 0.8041 MB / 0.8024 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5201, allocations: 0 / 0.8024 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.5208, allocations: 0.5497 MB / 0.8029 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.5217, allocations: 128.4 kB / 0.8031 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.5276, allocations: 4.567 MB / 0.8075 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.5281, allocations: 0.8594 MB / 0.8084 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.5285, allocations: 108.5 kB / 0.8085 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5287, allocations: 153.6 kB / 0.8086 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.5287, allocations: 1.156 kB / 0.8086 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.5702, allocations: 10.04 MB / 0.8184 GB, free: 8 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.05, allocations: 5.469 kB / 0.8184 GB, free: 4 kB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)