Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001018/0.001018, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001081/0.001081, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002037, allocations: 286.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 86.42 kB / 0.5948 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1646, allocations: 86.98 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03304/0.1977, allocations: 33 MB / 0.712 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02111/0.2188, allocations: 14.68 MB / 0.7263 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.2225, allocations: 143.2 kB / 0.7264 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009121/0.2317, allocations: 3.411 MB / 0.7298 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.2437, allocations: 2.674 MB / 0.7324 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008094/0.2518, allocations: 2.133 MB / 0.7345 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.2648, allocations: 8.838 MB / 0.7431 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.2795, allocations: 11.36 MB / 0.7542 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006395/0.2859, allocations: 4.007 MB / 0.7581 GB, free: 408 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006334/0.2923, allocations: 4.221 MB / 0.7622 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.2941, allocations: 0.7148 MB / 0.7629 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004021/0.2981, allocations: 1.716 MB / 0.7646 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003194/0.3013, allocations: 2.838 MB / 0.7674 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005167/0.3065, allocations: 3.384 MB / 0.7707 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.6771/0.9836, allocations: 11.2 MB / 0.7816 GB, free: 37.27 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.9837, allocations: 0 / 0.7816 GB, free: 37.27 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9837, allocations: 0 / 0.7816 GB, free: 37.27 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004971/0.9842, allocations: 1.25 kB / 0.7816 GB, free: 37.27 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02511/1.009, allocations: 5.989 MB / 0.7875 GB, free: 35.09 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.009, allocations: 11.25 kB / 0.7875 GB, free: 35.09 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004347/1.014, allocations: 0.7198 MB / 0.7882 GB, free: 35.02 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/1.024, allocations: 1.137 MB / 0.7893 GB, free: 34.73 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.037, allocations: 3.323 MB / 0.7925 GB, free: 33.98 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000769/1.038, allocations: 370.8 kB / 0.7929 GB, free: 33.97 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004614/1.043, allocations: 498.1 kB / 0.7934 GB, free: 33.96 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03789/1.081, allocations: 8.007 MB / 0.8012 GB, free: 33.12 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004717/1.081, allocations: 25.58 kB / 0.8012 GB, free: 33.11 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003533/1.085, allocations: 221.7 kB / 0.8014 GB, free: 33.11 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/1.086, allocations: 438.2 kB / 0.8018 GB, free: 33.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02294/1.109, allocations: 6.078 MB / 0.8078 GB, free: 33.05 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05782/1.167, allocations: 35.16 MB / 0.8421 GB, free: 2.73 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/1.171, allocations: 2.029 MB / 0.8441 GB, free: 1.664 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/1.174, allocations: 1.87 MB / 0.8459 GB, free: 0.6953 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/1.174, allocations: 17.62 kB / 0.8459 GB, free: 0.6953 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/1.174, allocations: 60.22 kB / 0.846 GB, free: 0.6367 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=171): time 5.37e-06/1.174, allocations: 4 kB / 0.846 GB, free: 0.6328 MB / 0.5607 GB Notification: Performance of matching and sorting (n=276): time 0.2171/1.391, allocations: 38.87 MB / 0.884 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/1.392, allocations: 77.58 kB / 0.884 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/1.396, allocations: 2.286 MB / 0.8863 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005509/1.397, allocations: 73.7 kB / 0.8863 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.398, allocations: 2.273 MB / 0.8885 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.4, allocations: 0.9328 MB / 0.8895 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/1.401, allocations: 0.5061 MB / 0.89 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.401, allocations: 309.1 kB / 0.8902 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/1.404, allocations: 1.975 MB / 0.8922 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003516/1.408, allocations: 2.594 MB / 0.8947 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/1.414, allocations: 4.932 MB / 0.8995 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.414, allocations: 8 kB / 0.8995 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0142/1.428, allocations: 7.759 MB / 0.9071 GB, free: 9.785 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.428, allocations: 12 kB / 0.9071 GB, free: 9.773 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.428, allocations: 20 kB / 0.9071 GB, free: 9.754 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009024/1.437, allocations: 3.242 MB / 0.9103 GB, free: 6.504 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.439, allocations: 407.3 kB / 0.9107 GB, free: 6.133 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04359/1.483, allocations: 33.89 MB / 0.9438 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/1.486, allocations: 171.8 kB / 0.944 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004123/1.487, allocations: 108 kB / 0.9441 GB, free: 3.219 MB / 0.6544 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003866/1.491, allocations: 1.797 MB / 0.9458 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008017/1.492, allocations: 324.2 kB / 0.9461 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.505, allocations: 7.359 MB / 0.9533 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.505, allocations: 24 kB / 0.9533 GB, free: 9.762 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-05/1.506, allocations: 36 kB / 0.9534 GB, free: 9.727 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-05/1.506, allocations: 14.14 kB / 0.9534 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/1.531, allocations: 12.93 MB / 0.966 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/1.531, allocations: 8 kB / 0.966 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.532, allocations: 239.4 kB / 0.9662 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008628/1.541, allocations: 2.874 MB / 0.969 GB, free: 9.695 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003957/1.541, allocations: 52 kB / 0.9691 GB, free: 9.645 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04308/1.584, allocations: 32.7 MB / 1.001 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.584, allocations: 8 kB / 1.001 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.597, allocations: 6.886 MB / 1.008 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.599, allocations: 0.7744 MB / 1.009 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/1.6, allocations: 64.31 kB / 1.009 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.601, allocations: 163.8 kB / 1.009 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009441/1.602, allocations: 259.9 kB / 1.009 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.603, allocations: 76 kB / 1.009 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002159/1.605, allocations: 1.525 MB / 1.011 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.605, allocations: 0 / 1.011 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00426/1.609, allocations: 1.371 MB / 1.012 GB, free: 12.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01214/1.621, allocations: 7.517 MB / 1.019 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.636, allocations: 8.374 MB / 1.027 GB, free: 12.94 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.636, allocations: 4.125 kB / 1.027 GB, free: 12.94 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.007344/1.643, allocations: 4.404 MB / 1.032 GB, free: 8.488 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/1.648, allocations: 1.118 MB / 1.033 GB, free: 7.434 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3496/1.998, allocations: 46.05 MB / 1.078 GB, free: 268.6 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004629/2.002, allocations: 3.648 MB / 1.081 GB, free: 267.3 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002408/2.005, allocations: 0.5564 MB / 1.082 GB, free: 267.2 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.007, allocations: 1.972 MB / 1.084 GB, free: 265.6 MB / 0.7638 GB Notification: Performance of SimCode: time 9.32e-07/2.007, allocations: 0 / 1.084 GB, free: 265.6 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/2.156, allocations: 113 MB / 1.194 GB, free: 171.1 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/2.156, allocations: 265.1 kB / 1.194 GB, free: 170.8 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.474/6.63, allocations: 3.625 kB / 1.194 GB, free: 170.8 MB / 0.7638 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)