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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005283/0.005287, allocations: 104.4 kB / 15.73 MB, free: 6.477 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.001127/0.001127, allocations: 193.4 kB / 16.67 MB, free: 6.379 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 270.7 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.3616/0.5135, allocations: 20.23 MB / 0.7862 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.5236, allocations: 6.446 MB / 0.7924 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.5251, allocations: 83.44 kB / 0.7925 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.5298, allocations: 2.242 MB / 0.7947 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.5326, allocations: 1.239 MB / 0.7959 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.5356, allocations: 1.291 MB / 0.7972 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004977/0.5405, allocations: 4.857 MB / 0.8019 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006984/0.5475, allocations: 5.593 MB / 0.8074 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.551, allocations: 2.12 MB / 0.8095 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.5543, allocations: 2.343 MB / 0.8118 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005927/0.5549, allocations: 429.8 kB / 0.8122 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.557, allocations: 1.004 MB / 0.8131 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.5588, allocations: 1.664 MB / 0.8148 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.561, allocations: 1.911 MB / 0.8166 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007415/0.5684, allocations: 6.522 MB / 0.823 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5685, allocations: 4 kB / 0.823 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5685, allocations: 1.031 kB / 0.823 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001048/0.5686, allocations: 0 / 0.823 GB, free: 2.449 MB / 0.5762 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.006923/0.5755, allocations: 3.461 MB / 0.8264 GB, free: 92 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5755, allocations: 9.094 kB / 0.8264 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.5789, allocations: 0.6359 MB / 0.827 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/0.5821, allocations: 2.038 MB / 0.829 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.5823, allocations: 221.3 kB / 0.8292 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.5827, allocations: 300.8 kB / 0.8295 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/0.5898, allocations: 4.892 MB / 0.8343 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.741e-05/0.5899, allocations: 12.53 kB / 0.8343 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.5902, allocations: 126.9 kB / 0.8344 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004044/0.5906, allocations: 226.8 kB / 0.8346 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005233/0.5959, allocations: 3.758 MB / 0.8383 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.614, allocations: 21.4 MB / 0.8592 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.6158, allocations: 1.307 MB / 0.8605 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.6172, allocations: 1.061 MB / 0.8615 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.6172, allocations: 13 kB / 0.8615 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6173, allocations: 47.56 kB / 0.8616 GB, free: 128 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 2.585e-06/0.6173, allocations: 0 / 0.8616 GB, free: 128 kB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02296/0.6402, allocations: 8.652 MB / 0.87 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.6403, allocations: 68.72 kB / 0.8701 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.6416, allocations: 1.13 MB / 0.8712 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.3e-05/0.6417, allocations: 49.7 kB / 0.8712 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/0.6425, allocations: 1.304 MB / 0.8725 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/0.643, allocations: 477.1 kB / 0.873 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.6434, allocations: 291.3 kB / 0.8732 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.6435, allocations: 309 kB / 0.8735 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.6448, allocations: 0.9135 MB / 0.8744 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.6463, allocations: 1.326 MB / 0.8757 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.6492, allocations: 2.43 MB / 0.8781 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6492, allocations: 0 / 0.8781 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005947/0.6551, allocations: 3.464 MB / 0.8815 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6552, allocations: 16.16 kB / 0.8815 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.6552, allocations: 19.94 kB / 0.8815 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.6584, allocations: 1.176 MB / 0.8827 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.6593, allocations: 259.5 kB / 0.8829 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/0.6757, allocations: 13.85 MB / 0.8964 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.677, allocations: 91.97 kB / 0.8965 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.6771, allocations: 60 kB / 0.8966 GB, free: 11.38 MB / 0.6544 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.001777/0.6789, allocations: 1.118 MB / 0.8977 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.6791, allocations: 162.1 kB / 0.8978 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/0.6845, allocations: 3.165 MB / 0.9009 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6846, allocations: 19.98 kB / 0.9009 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.6846, allocations: 19.92 kB / 0.9009 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6846, allocations: 3.984 kB / 0.901 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00931/0.6939, allocations: 6.245 MB / 0.9071 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.6939, allocations: 8 kB / 0.9071 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.6945, allocations: 147.8 kB / 0.9072 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.6973, allocations: 1.082 MB / 0.9083 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.6974, allocations: 24 kB / 0.9083 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.7134, allocations: 13.52 MB / 0.9215 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.7134, allocations: 8 kB / 0.9215 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.7184, allocations: 3.154 MB / 0.9246 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007095/0.7191, allocations: 423.1 kB / 0.925 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.7193, allocations: 35.94 kB / 0.925 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.7201, allocations: 87.83 kB / 0.9251 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.7204, allocations: 120.7 kB / 0.9252 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.7205, allocations: 40 kB / 0.9252 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009764/0.7214, allocations: 0.7709 MB / 0.926 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7214, allocations: 0 / 0.926 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00188/0.7233, allocations: 0.6562 MB / 0.9266 GB, free: 11.88 MB / 0.6856 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.0002219/0.7236, allocations: 139.1 kB / 0.9268 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0044/0.728, allocations: 3.146 MB / 0.9298 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.728, allocations: 0 / 0.9298 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.7307, allocations: 1.951 MB / 0.9318 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.7327, allocations: 0.5018 MB / 0.9322 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007912/0.7406, allocations: 5.371 MB / 0.9375 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.7427, allocations: 2.344 MB / 0.9398 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008378/0.7435, allocations: 346.1 kB / 0.9401 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.7437, allocations: 91.42 kB / 0.9402 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.7437, allocations: 0 / 0.9402 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of Templates: time 0.04922/0.793, allocations: 33.22 MB / 0.9726 GB, free: 13.06 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)