Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004894/0.004894, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001169/0.001169, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 296.6 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 0.9621/0.9621, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 95.86 kB / 0.6815 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.411, allocations: 86.97 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01179/0.4229, allocations: 10.07 MB / 0.7762 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005302/0.4282, allocations: 3.182 MB / 0.7793 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007974/0.429, allocations: 35.81 kB / 0.7794 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.4308, allocations: 0.5985 MB / 0.78 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.4325, allocations: 0.7818 MB / 0.7807 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.434, allocations: 0.74 MB / 0.7814 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.4371, allocations: 2.996 MB / 0.7844 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.4399, allocations: 2.583 MB / 0.7869 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.4415, allocations: 1.266 MB / 0.7881 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.4433, allocations: 1.558 MB / 0.7896 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.4435, allocations: 236 kB / 0.7899 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008665/0.4444, allocations: 0.5032 MB / 0.7904 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008983/0.4453, allocations: 1.072 MB / 0.7914 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.4464, allocations: 1.116 MB / 0.7925 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.4494, allocations: 3.68 MB / 0.7961 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.4495, allocations: 3.984 kB / 0.7961 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4495, allocations: 0 / 0.7961 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.182e-05/0.4495, allocations: 0 / 0.7961 GB, free: 5.391 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003684/0.4532, allocations: 2.15 MB / 0.7982 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4532, allocations: 8.031 kB / 0.7982 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009113/0.4623, allocations: 1.305 MB / 0.7995 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.4655, allocations: 1.302 MB / 0.8007 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4657, allocations: 119.3 kB / 0.8009 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/0.4661, allocations: 152.3 kB / 0.801 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/0.4711, allocations: 3.431 MB / 0.8044 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.4712, allocations: 7.844 kB / 0.8044 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.4714, allocations: 71.95 kB / 0.8044 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/0.4716, allocations: 203.1 kB / 0.8046 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/0.4761, allocations: 3.131 MB / 0.8077 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.4922, allocations: 13.54 MB / 0.8209 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.4948, allocations: 1.728 MB / 0.8226 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.4967, allocations: 1.449 MB / 0.824 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.4968, allocations: 9 kB / 0.824 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4968, allocations: 39.56 kB / 0.8241 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.767e-06/0.4968, allocations: 0 / 0.8241 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1502/0.647, allocations: 36.68 MB / 0.8599 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.6472, allocations: 73.34 kB / 0.86 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.6491, allocations: 1.065 MB / 0.861 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004692/0.6496, allocations: 49.7 kB / 0.861 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.6503, allocations: 0.7874 MB / 0.8618 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008833/0.6512, allocations: 0.6199 MB / 0.8624 GB, free: 172 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.6523, allocations: 363.3 kB / 0.8628 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.6524, allocations: 309.1 kB / 0.8631 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/0.6553, allocations: 1.928 MB / 0.8649 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.6584, allocations: 2.292 MB / 0.8672 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006142/0.6645, allocations: 4.395 MB / 0.8715 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.6646, allocations: 8 kB / 0.8715 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02139/0.686, allocations: 9.009 MB / 0.8803 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.6861, allocations: 15.94 kB / 0.8803 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.6861, allocations: 8.656 kB / 0.8803 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0178/0.7039, allocations: 4.979 MB / 0.8852 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009406/0.7049, allocations: 195.6 kB / 0.8854 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05954/0.7644, allocations: 38.89 MB / 0.9233 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.7666, allocations: 103.9 kB / 0.9234 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.767, allocations: 64 kB / 0.9235 GB, free: 0.75 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001633/0.7686, allocations: 0.8174 MB / 0.9243 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/0.7691, allocations: 142.3 kB / 0.9244 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02061/0.7897, allocations: 8.886 MB / 0.9331 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.7898, allocations: 16 kB / 0.9331 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001089/0.7899, allocations: 28 kB / 0.9331 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/0.79, allocations: 15.97 kB / 0.9332 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/0.8186, allocations: 13.4 MB / 0.9462 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.8187, allocations: 4 kB / 0.9462 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.8192, allocations: 119.8 kB / 0.9464 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/0.8362, allocations: 4.836 MB / 0.9511 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003442/0.8366, allocations: 35.98 kB / 0.9511 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4238/1.26, allocations: 36.8 MB / 0.9871 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.26, allocations: 10.61 kB / 0.9871 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.277, allocations: 8.591 MB / 0.9955 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.278, allocations: 0.6395 MB / 0.9961 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.278, allocations: 36 kB / 0.9961 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.28, allocations: 87.88 kB / 0.9962 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009152/1.281, allocations: 164.3 kB / 0.9964 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.281, allocations: 48.88 kB / 0.9964 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007725/1.282, allocations: 0.7421 MB / 0.9971 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.282, allocations: 0 / 0.9971 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002727/1.284, allocations: 1.004 MB / 0.9981 GB, free: 148.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/1.285, allocations: 147.7 kB / 0.9983 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008173/1.293, allocations: 5.944 MB / 1.004 GB, free: 142.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.293, allocations: 0 / 1.004 GB, free: 142.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006867/1.3, allocations: 3.935 MB / 1.008 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.301, allocations: 241.6 kB / 1.008 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/1.308, allocations: 5.08 MB / 1.013 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.31, allocations: 1.859 MB / 1.015 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006476/1.31, allocations: 359.4 kB / 1.015 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/1.31, allocations: 61.73 kB / 1.015 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/1.31, allocations: 0 / 1.015 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.06537/1.376, allocations: 61.2 MB / 1.075 GB, free: 70.08 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)