Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.005391/0.005391, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001424/0.001424, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 283.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.223/1.223, allocations: 178.6 MB / 0.5074 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 95.84 kB / 0.6943 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4054, allocations: 89.12 MB / 0.7814 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03139/0.4369, allocations: 26.65 MB / 0.8074 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.4532, allocations: 8.077 MB / 0.8153 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.4563, allocations: 119.4 kB / 0.8154 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007725/0.464, allocations: 2.767 MB / 0.8181 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.4691, allocations: 1.578 MB / 0.8196 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.4739, allocations: 1.665 MB / 0.8213 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008384/0.4823, allocations: 6.158 MB / 0.8273 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00998/0.4923, allocations: 7.311 MB / 0.8344 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.4967, allocations: 2.566 MB / 0.8369 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004926/0.5016, allocations: 2.831 MB / 0.8397 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.5031, allocations: 0.5156 MB / 0.8402 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.5065, allocations: 1.287 MB / 0.8414 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.5094, allocations: 2.05 MB / 0.8434 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004038/0.5135, allocations: 2.381 MB / 0.8458 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.5244, allocations: 8.066 MB / 0.8536 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5245, allocations: 3.938 kB / 0.8536 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5245, allocations: 0 / 0.8536 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002096/0.5247, allocations: 4 kB / 0.8536 GB, free: 14.39 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01019/0.5349, allocations: 4.332 MB / 0.8579 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.535, allocations: 12.03 kB / 0.8579 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.5361, allocations: 0.5382 MB / 0.8584 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.5407, allocations: 0.8179 MB / 0.8592 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005112/0.5458, allocations: 2.59 MB / 0.8617 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.5461, allocations: 275.6 kB / 0.862 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009675/0.547, allocations: 376.4 kB / 0.8624 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.5589, allocations: 5.999 MB / 0.8682 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.559, allocations: 11.89 kB / 0.8682 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006613/0.5597, allocations: 160 kB / 0.8684 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006202/0.5603, allocations: 286.8 kB / 0.8687 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009108/0.5694, allocations: 4.524 MB / 0.8731 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.6023, allocations: 27.5 MB / 0.8999 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.6043, allocations: 1.115 MB / 0.901 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.6058, allocations: 1.015 MB / 0.902 GB, free: 9.941 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.6059, allocations: 24.92 kB / 0.902 GB, free: 9.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.606, allocations: 47.55 kB / 0.9021 GB, free: 9.863 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 2.675e-06/0.606, allocations: 0 / 0.9021 GB, free: 9.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.02325/0.6292, allocations: 9.725 MB / 0.9116 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.6293, allocations: 64.72 kB / 0.9116 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6315, allocations: 1.498 MB / 0.9131 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.6318, allocations: 45.7 kB / 0.9131 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.6331, allocations: 1.727 MB / 0.9148 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.6336, allocations: 487.8 kB / 0.9153 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.6342, allocations: 327.4 kB / 0.9156 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6343, allocations: 305.1 kB / 0.9159 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6357, allocations: 0.9135 MB / 0.9168 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.6376, allocations: 1.463 MB / 0.9182 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.6412, allocations: 2.554 MB / 0.9207 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6412, allocations: 7.938 kB / 0.9207 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006324/0.6475, allocations: 3.298 MB / 0.9239 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.6476, allocations: 12 kB / 0.924 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.6476, allocations: 16.84 kB / 0.924 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.65, allocations: 0.7412 MB / 0.9247 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.6517, allocations: 383.4 kB / 0.9251 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.6698, allocations: 17.06 MB / 0.9417 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6715, allocations: 99.91 kB / 0.9418 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.6717, allocations: 72 kB / 0.9419 GB, free: 15.04 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002271/0.6739, allocations: 1.309 MB / 0.9432 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.6744, allocations: 210.7 kB / 0.9434 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/0.6799, allocations: 2.788 MB / 0.9461 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6799, allocations: 12 kB / 0.9461 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.6799, allocations: 8 kB / 0.9461 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.68, allocations: 7.969 kB / 0.9461 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.6913, allocations: 6.221 MB / 0.9522 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.6913, allocations: 4 kB / 0.9522 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.6926, allocations: 231.6 kB / 0.9524 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/0.6947, allocations: 0.6676 MB / 0.9531 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.6949, allocations: 40 kB / 0.9531 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.7118, allocations: 16.8 MB / 0.9695 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7118, allocations: 4 kB / 0.9695 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006618/0.7185, allocations: 4.017 MB / 0.9734 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/0.7194, allocations: 467.6 kB / 0.9739 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.7197, allocations: 39.92 kB / 0.9739 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/0.7206, allocations: 83.89 kB / 0.974 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.721, allocations: 112.7 kB / 0.9741 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.7211, allocations: 40 kB / 0.9741 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001408/0.7225, allocations: 0.9981 MB / 0.9751 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7225, allocations: 0 / 0.9751 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002112/0.7246, allocations: 0.6836 MB / 0.9758 GB, free: 10.7 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006803/0.7314, allocations: 4.62 MB / 0.9803 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005623/0.7371, allocations: 3.526 MB / 0.9837 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.7371, allocations: 0.875 kB / 0.9837 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.7407, allocations: 2.303 MB / 0.986 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.7438, allocations: 0.6821 MB / 0.9867 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3597/1.104, allocations: 21.23 MB / 1.007 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003581/1.107, allocations: 2.67 MB / 1.01 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001624/1.109, allocations: 488.8 kB / 1.01 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/1.111, allocations: 1.282 MB / 1.012 GB, free: 193.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.583e-06/1.111, allocations: 0 / 1.012 GB, free: 193.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.224, allocations: 57.24 MB / 1.068 GB, free: 154.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.4, allocations: 13.83 kB / 1.068 GB, free: 154.4 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)