Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.005007/0.005007, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001321/0.001321, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 301.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.209/1.209, allocations: 178.5 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 99.78 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4175, allocations: 89.13 MB / 0.7814 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02505/0.4426, allocations: 20.23 MB / 0.8011 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.4568, allocations: 6.451 MB / 0.8074 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.4592, allocations: 87.31 kB / 0.8075 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006427/0.4657, allocations: 2.238 MB / 0.8097 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.4696, allocations: 1.187 MB / 0.8108 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.4732, allocations: 1.284 MB / 0.8121 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006544/0.4798, allocations: 4.857 MB / 0.8168 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008492/0.4883, allocations: 5.594 MB / 0.8223 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.4924, allocations: 2.08 MB / 0.8243 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.4968, allocations: 2.344 MB / 0.8266 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.4983, allocations: 428 kB / 0.827 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.5013, allocations: 1.006 MB / 0.828 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00262/0.5039, allocations: 1.657 MB / 0.8296 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004699/0.5086, allocations: 1.914 MB / 0.8315 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.5187, allocations: 6.536 MB / 0.8379 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.5187, allocations: 0 / 0.8379 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.707e-06/0.5187, allocations: 0 / 0.8379 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000211/0.5189, allocations: 3.938 kB / 0.8379 GB, free: 14.66 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009059/0.528, allocations: 3.541 MB / 0.8413 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5281, allocations: 12.03 kB / 0.8414 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007814/0.5289, allocations: 454.5 kB / 0.8418 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.5324, allocations: 0.6623 MB / 0.8424 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.5366, allocations: 2.05 MB / 0.8444 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.5368, allocations: 222.3 kB / 0.8446 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006341/0.5374, allocations: 300 kB / 0.8449 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0087/0.5461, allocations: 4.886 MB / 0.8497 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.853e-05/0.5462, allocations: 7.938 kB / 0.8497 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.5466, allocations: 132 kB / 0.8498 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004572/0.547, allocations: 229.7 kB / 0.8501 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/0.5537, allocations: 3.746 MB / 0.8537 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02526/0.579, allocations: 21.45 MB / 0.8747 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.5811, allocations: 1.308 MB / 0.8759 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.5827, allocations: 1.058 MB / 0.877 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.5828, allocations: 13 kB / 0.877 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.5828, allocations: 43.56 kB / 0.877 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 3.637e-06/0.5828, allocations: 0 / 0.877 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02489/0.6077, allocations: 8.696 MB / 0.8855 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.6078, allocations: 64.72 kB / 0.8856 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.6094, allocations: 1.13 MB / 0.8867 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.6095, allocations: 49.7 kB / 0.8867 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009947/0.6105, allocations: 1.343 MB / 0.888 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.611, allocations: 0.4919 MB / 0.8885 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004863/0.6115, allocations: 295.4 kB / 0.8888 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6116, allocations: 309.1 kB / 0.8891 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.613, allocations: 0.9096 MB / 0.89 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.6147, allocations: 1.322 MB / 0.8913 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.618, allocations: 2.426 MB / 0.8936 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.618, allocations: 4 kB / 0.8937 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006494/0.6245, allocations: 3.476 MB / 0.897 GB, free: 15.24 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.6246, allocations: 12 kB / 0.8971 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.6246, allocations: 12 kB / 0.8971 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/0.628, allocations: 1.19 MB / 0.8982 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6291, allocations: 255.6 kB / 0.8985 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.6481, allocations: 13.85 MB / 0.912 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.6494, allocations: 95.97 kB / 0.9121 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6496, allocations: 60 kB / 0.9122 GB, free: 15.35 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001889/0.6515, allocations: 1.118 MB / 0.9132 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.6518, allocations: 170.9 kB / 0.9134 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006154/0.6579, allocations: 3.165 MB / 0.9165 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.658, allocations: 12 kB / 0.9165 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/0.658, allocations: 15.94 kB / 0.9165 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.6581, allocations: 11.97 kB / 0.9165 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6689, allocations: 6.249 MB / 0.9226 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.669, allocations: 7.938 kB / 0.9226 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.6696, allocations: 147.8 kB / 0.9228 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/0.6726, allocations: 1.074 MB / 0.9238 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.6728, allocations: 35.98 kB / 0.9239 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.6914, allocations: 13.54 MB / 0.9371 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.6915, allocations: 7.938 kB / 0.9371 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/0.6974, allocations: 3.159 MB / 0.9402 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000852/0.6982, allocations: 431.9 kB / 0.9406 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.6985, allocations: 32 kB / 0.9406 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.6993, allocations: 79.89 kB / 0.9407 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.6996, allocations: 128.7 kB / 0.9408 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.6997, allocations: 36 kB / 0.9409 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001134/0.7009, allocations: 0.7632 MB / 0.9416 GB, free: 500 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7009, allocations: 4 kB / 0.9416 GB, free: 496 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001941/0.7028, allocations: 0.6602 MB / 0.9423 GB, free: 15.82 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006192/0.709, allocations: 3.754 MB / 0.9459 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005472/0.7145, allocations: 3.15 MB / 0.949 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.7146, allocations: 0 / 0.949 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00344/0.718, allocations: 1.959 MB / 0.9509 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.7205, allocations: 0.4909 MB / 0.9514 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/0.7555, allocations: 19.21 MB / 0.9701 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/0.7588, allocations: 2.34 MB / 0.9724 GB, free: 136 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001179/0.76, allocations: 342.2 kB / 0.9728 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.7614, allocations: 1.011 MB / 0.9737 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/0.7614, allocations: 0 / 0.9737 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4151/1.177, allocations: 52.32 MB / 1.025 GB, free: 171.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.86, allocations: 6.656 kB / 1.025 GB, free: 171.4 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)