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.007311/0.007311, allocations: 96.7 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.00183/0.00183, allocations: 194.3 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 279.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 100.2 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1682, allocations: 86.98 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3711/0.5393, allocations: 26.64 MB / 0.7919 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.5547, allocations: 8.071 MB / 0.7998 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004625/0.5593, allocations: 115.5 kB / 0.7999 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008216/0.5676, allocations: 2.759 MB / 0.8026 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.5741, allocations: 1.585 MB / 0.8042 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005716/0.5799, allocations: 1.674 MB / 0.8058 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.5914, allocations: 6.138 MB / 0.8118 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.6035, allocations: 7.313 MB / 0.819 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008154/0.6117, allocations: 2.568 MB / 0.8215 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006643/0.6184, allocations: 2.838 MB / 0.8242 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002165/0.6206, allocations: 0.5122 MB / 0.8247 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.625, allocations: 1.291 MB / 0.826 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004063/0.6291, allocations: 2.049 MB / 0.828 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006183/0.6353, allocations: 2.378 MB / 0.8303 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.6493, allocations: 8.075 MB / 0.8382 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.6494, allocations: 0 / 0.8382 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6494, allocations: 3.938 kB / 0.8382 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003597/0.6498, allocations: 0 / 0.8382 GB, free: 7.375 MB / 0.5919 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.01568/0.6655, allocations: 4.338 MB / 0.8424 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6655, allocations: 9.781 kB / 0.8425 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/0.6671, allocations: 0.5374 MB / 0.843 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.6722, allocations: 0.8238 MB / 0.8438 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006375/0.6786, allocations: 2.586 MB / 0.8463 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.6789, allocations: 275.6 kB / 0.8466 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.6806, allocations: 376.4 kB / 0.8469 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.696, allocations: 5.992 MB / 0.8528 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.6962, allocations: 23.83 kB / 0.8528 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/0.6976, allocations: 156 kB / 0.853 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007481/0.6984, allocations: 286.9 kB / 0.8532 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.7098, allocations: 4.528 MB / 0.8576 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04027/0.7501, allocations: 27.49 MB / 0.8845 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.7523, allocations: 1.121 MB / 0.8856 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.754, allocations: 1.011 MB / 0.8866 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.7542, allocations: 17 kB / 0.8866 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.7542, allocations: 47.56 kB / 0.8866 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.546e-06/0.7542, allocations: 0 / 0.8866 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.02613/0.7804, allocations: 9.737 MB / 0.8961 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.7805, allocations: 64.72 kB / 0.8962 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.7836, allocations: 1.498 MB / 0.8977 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.7839, allocations: 53.7 kB / 0.8977 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.7856, allocations: 1.715 MB / 0.8994 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007898/0.7864, allocations: 487.8 kB / 0.8999 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008598/0.7873, allocations: 331.4 kB / 0.9002 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7874, allocations: 305.1 kB / 0.9005 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.789, allocations: 0.9135 MB / 0.9014 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.7911, allocations: 1.467 MB / 0.9028 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/0.7949, allocations: 2.55 MB / 0.9053 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.795, allocations: 4 kB / 0.9053 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006652/0.8016, allocations: 3.298 MB / 0.9085 GB, free: 14.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.8017, allocations: 12 kB / 0.9085 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.8017, allocations: 16 kB / 0.9085 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/0.8043, allocations: 0.742 MB / 0.9093 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.8061, allocations: 387.3 kB / 0.9096 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.8258, allocations: 17.05 MB / 0.9263 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.8281, allocations: 107.9 kB / 0.9264 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004489/0.8285, allocations: 72 kB / 0.9265 GB, free: 10.78 MB / 0.6856 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.003761/0.8323, allocations: 1.321 MB / 0.9277 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008129/0.8331, allocations: 210.7 kB / 0.9279 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006364/0.8395, allocations: 2.777 MB / 0.9307 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.8396, allocations: 16 kB / 0.9307 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.8396, allocations: 4 kB / 0.9307 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.8396, allocations: 7.969 kB / 0.9307 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.8527, allocations: 6.225 MB / 0.9368 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.8528, allocations: 7.938 kB / 0.9368 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.8541, allocations: 231.7 kB / 0.937 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.8563, allocations: 0.6753 MB / 0.9376 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.8564, allocations: 32 kB / 0.9377 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.8748, allocations: 16.79 MB / 0.9541 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.8748, allocations: 11.94 kB / 0.9541 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006949/0.8818, allocations: 4.009 MB / 0.958 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8829, allocations: 471.6 kB / 0.9584 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/0.8832, allocations: 35.92 kB / 0.9585 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.8843, allocations: 83.89 kB / 0.9586 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/0.8846, allocations: 116.7 kB / 0.9587 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8847, allocations: 40 kB / 0.9587 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001499/0.8862, allocations: 0.9942 MB / 0.9597 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8862, allocations: 0 / 0.9597 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002367/0.8886, allocations: 0.6836 MB / 0.9604 GB, free: 6.438 MB / 0.7169 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.007186/0.8958, allocations: 4.613 MB / 0.9649 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005916/0.9017, allocations: 3.534 MB / 0.9683 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.9018, allocations: 0 / 0.9683 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/0.9056, allocations: 2.296 MB / 0.9705 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.909, allocations: 0.6766 MB / 0.9712 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03714/0.9462, allocations: 21.26 MB / 0.992 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/0.9493, allocations: 2.668 MB / 0.9946 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001545/0.9509, allocations: 489.4 kB / 0.995 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/0.9526, allocations: 1.284 MB / 0.9963 GB, free: 404 kB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/0.9526, allocations: 0 / 0.9963 GB, free: 404 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.081, allocations: 57.24 MB / 1.052 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.37, allocations: 3.75 kB / 1.052 GB, free: 7.91 MB / 0.8106 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)