Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.005533/0.005533, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001555/0.001555, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 279 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 102.3 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5028, allocations: 89.13 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04276/0.5456, allocations: 34.83 MB / 0.8154 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.5658, allocations: 11.49 MB / 0.8266 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/0.5693, allocations: 159.6 kB / 0.8267 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.5807, allocations: 4.259 MB / 0.8309 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006675/0.5873, allocations: 1.994 MB / 0.8329 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007179/0.5946, allocations: 2.401 MB / 0.8352 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.6065, allocations: 8.468 MB / 0.8435 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01658/0.6231, allocations: 11.11 MB / 0.8543 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008975/0.6321, allocations: 3.751 MB / 0.858 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007941/0.6401, allocations: 4.186 MB / 0.8621 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002814/0.643, allocations: 0.7852 MB / 0.8628 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006647/0.6497, allocations: 2.024 MB / 0.8648 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005575/0.6553, allocations: 3.06 MB / 0.8678 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008003/0.6633, allocations: 3.396 MB / 0.8711 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.6811, allocations: 12.02 MB / 0.8829 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.6812, allocations: 0 / 0.8829 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6812, allocations: 0 / 0.8829 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003731/0.6816, allocations: 0 / 0.8829 GB, free: 7.012 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01653/0.6981, allocations: 5.942 MB / 0.8887 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6982, allocations: 8.031 kB / 0.8887 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002484/0.7007, allocations: 0.8051 MB / 0.8895 GB, free: 168 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/0.7074, allocations: 1.086 MB / 0.8905 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/0.7143, allocations: 3.467 MB / 0.8939 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.7147, allocations: 415.5 kB / 0.8943 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.7163, allocations: 0.5354 MB / 0.8948 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.7351, allocations: 9.087 MB / 0.9037 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.7353, allocations: 31.78 kB / 0.9037 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009248/0.7362, allocations: 232 kB / 0.9039 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003988/0.7366, allocations: 346.8 kB / 0.9043 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.7512, allocations: 6.834 MB / 0.9109 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05014/0.8014, allocations: 39.85 MB / 0.9499 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/0.8059, allocations: 3.116 MB / 0.9529 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002917/0.8088, allocations: 1.982 MB / 0.9548 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.8089, allocations: 18 kB / 0.9549 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.809, allocations: 52.56 kB / 0.9549 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 3.336e-06/0.809, allocations: 0 / 0.9549 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02692/0.8359, allocations: 10.05 MB / 0.9647 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.836, allocations: 69.41 kB / 0.9648 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.8384, allocations: 1.534 MB / 0.9663 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.8387, allocations: 49.7 kB / 0.9663 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.8404, allocations: 2.327 MB / 0.9686 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007155/0.8411, allocations: 0.6584 MB / 0.9693 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006382/0.8418, allocations: 408.1 kB / 0.9696 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8419, allocations: 309.1 kB / 0.9699 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.8438, allocations: 1.176 MB / 0.9711 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/0.8462, allocations: 1.897 MB / 0.9729 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/0.8508, allocations: 3.367 MB / 0.9762 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.8508, allocations: 4 kB / 0.9762 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008577/0.8594, allocations: 4.59 MB / 0.9807 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.8595, allocations: 12 kB / 0.9807 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.8595, allocations: 27.98 kB / 0.9807 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004106/0.8637, allocations: 1.583 MB / 0.9823 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.8651, allocations: 355.3 kB / 0.9826 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/0.8917, allocations: 18.6 MB / 1.001 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.8938, allocations: 119.9 kB / 1.001 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.8941, allocations: 92 kB / 1.001 GB, free: 8.258 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00376/0.8978, allocations: 1.901 MB / 1.003 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006282/0.8985, allocations: 234.5 kB / 1.003 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007562/0.906, allocations: 4.091 MB / 1.007 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.9061, allocations: 16 kB / 1.007 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-05/0.9061, allocations: 16 kB / 1.007 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/0.9062, allocations: 11.91 kB / 1.007 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.9238, allocations: 9.462 MB / 1.016 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.9239, allocations: 12 kB / 1.016 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.9247, allocations: 183.7 kB / 1.017 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/0.9284, allocations: 1.345 MB / 1.018 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.9285, allocations: 36 kB / 1.018 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/0.9523, allocations: 17.37 MB / 1.035 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.9524, allocations: 11.94 kB / 1.035 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/0.9602, allocations: 4.079 MB / 1.039 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.9615, allocations: 0.5425 MB / 1.039 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/0.962, allocations: 36.5 kB / 1.039 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.9632, allocations: 87.89 kB / 1.04 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/0.9637, allocations: 165.6 kB / 1.04 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.9639, allocations: 48 kB / 1.04 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001915/0.9658, allocations: 1.005 MB / 1.041 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9658, allocations: 4 kB / 1.041 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003546/0.9694, allocations: 0.9844 MB / 1.042 GB, free: 13.64 MB / 0.8106 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008022/0.9774, allocations: 4.684 MB / 1.046 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007634/0.9851, allocations: 4.312 MB / 1.05 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.9851, allocations: 4 kB / 1.05 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004967/0.9901, allocations: 2.681 MB / 1.053 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/0.9948, allocations: 0.7868 MB / 1.054 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3686/1.363, allocations: 26.97 MB / 1.08 GB, free: 248.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/1.367, allocations: 3.574 MB / 1.084 GB, free: 247.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001248/1.368, allocations: 464.9 kB / 1.084 GB, free: 247.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.37, allocations: 1.795 MB / 1.086 GB, free: 246 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/1.37, allocations: 1.438 kB / 1.086 GB, free: 246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/1.512, allocations: 73.95 MB / 1.158 GB, free: 193.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.21, allocations: 7.5 kB / 1.158 GB, free: 193.3 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)