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.001752/0.001759, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.00198/0.00198, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 281.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9832/0.9832, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4355, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0119/0.4474, allocations: 10.06 MB / 0.7769 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005575/0.453, allocations: 3.182 MB / 0.78 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008498/0.4539, allocations: 31.88 kB / 0.78 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.4557, allocations: 0.6024 MB / 0.7806 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.4575, allocations: 0.7349 MB / 0.7813 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.4591, allocations: 0.7515 MB / 0.7821 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.4624, allocations: 2.992 MB / 0.785 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.4657, allocations: 2.59 MB / 0.7875 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.4675, allocations: 1.258 MB / 0.7888 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.47, allocations: 1.558 MB / 0.7903 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.4706, allocations: 236 kB / 0.7905 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.4719, allocations: 0.4994 MB / 0.791 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.4732, allocations: 1.068 MB / 0.792 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.4749, allocations: 1.12 MB / 0.7931 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.4788, allocations: 3.68 MB / 0.7967 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4788, allocations: 0 / 0.7967 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4788, allocations: 0 / 0.7967 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001021/0.4789, allocations: 4 kB / 0.7967 GB, free: 5.387 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.004471/0.4834, allocations: 2.142 MB / 0.7988 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4835, allocations: 8.031 kB / 0.7988 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0092/0.4927, allocations: 1.309 MB / 0.8001 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.4952, allocations: 1.298 MB / 0.8014 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.4953, allocations: 119.4 kB / 0.8015 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.4956, allocations: 152.3 kB / 0.8016 GB, free: 268 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.5009, allocations: 3.437 MB / 0.805 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.501, allocations: 7.906 kB / 0.805 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.5012, allocations: 67.97 kB / 0.8051 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002486/0.5015, allocations: 203.1 kB / 0.8052 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004793/0.5063, allocations: 3.131 MB / 0.8083 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.5233, allocations: 13.54 MB / 0.8215 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.5258, allocations: 1.732 MB / 0.8232 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.5279, allocations: 1.445 MB / 0.8246 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.528, allocations: 9 kB / 0.8246 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.528, allocations: 39.56 kB / 0.8247 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.915e-06/0.528, allocations: 4 kB / 0.8247 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1563/0.6844, allocations: 36.69 MB / 0.8605 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.6845, allocations: 69.41 kB / 0.8606 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.6861, allocations: 1.065 MB / 0.8616 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/0.6865, allocations: 53.7 kB / 0.8617 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.687, allocations: 0.7874 MB / 0.8624 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007861/0.6878, allocations: 0.616 MB / 0.863 GB, free: 168 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009569/0.6888, allocations: 367.4 kB / 0.8634 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.6889, allocations: 301.1 kB / 0.8637 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.6917, allocations: 1.928 MB / 0.8656 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.6947, allocations: 2.292 MB / 0.8678 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006077/0.7008, allocations: 4.396 MB / 0.8721 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.7009, allocations: 4 kB / 0.8721 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0212/0.7221, allocations: 9.017 MB / 0.8809 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.7221, allocations: 15.94 kB / 0.8809 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.7222, allocations: 8 kB / 0.8809 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01749/0.7397, allocations: 4.97 MB / 0.8858 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.7407, allocations: 195.6 kB / 0.886 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05977/0.8005, allocations: 38.9 MB / 0.924 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.8026, allocations: 103.9 kB / 0.924 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/0.803, allocations: 60 kB / 0.9241 GB, free: 0.7461 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.001656/0.8046, allocations: 0.8135 MB / 0.9249 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.8051, allocations: 142.3 kB / 0.925 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/0.8259, allocations: 8.89 MB / 0.9337 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.8259, allocations: 16 kB / 0.9337 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.407e-05/0.826, allocations: 28 kB / 0.9338 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.8261, allocations: 11.97 kB / 0.9338 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/0.8533, allocations: 13.41 MB / 0.9469 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.8534, allocations: 4 kB / 0.9469 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.8539, allocations: 119.8 kB / 0.947 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/0.8708, allocations: 4.847 MB / 0.9517 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003006/0.8711, allocations: 32 kB / 0.9517 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3702/1.241, allocations: 36.8 MB / 0.9877 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.241, allocations: 9.172 kB / 0.9877 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.258, allocations: 8.603 MB / 0.9961 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.259, allocations: 0.6328 MB / 0.9967 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/1.259, allocations: 35.98 kB / 0.9967 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.261, allocations: 87.89 kB / 0.9968 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008323/1.261, allocations: 167.4 kB / 0.997 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.262, allocations: 44 kB / 0.997 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000746/1.262, allocations: 0.7382 MB / 0.9978 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.262, allocations: 0 / 0.9978 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00273/1.265, allocations: 1.004 MB / 0.9987 GB, free: 148.7 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.0002902/1.265, allocations: 155 kB / 0.9989 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00817/1.274, allocations: 5.954 MB / 1.005 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.274, allocations: 0 / 1.005 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00726/1.281, allocations: 3.946 MB / 1.009 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.282, allocations: 246 kB / 1.009 GB, free: 138.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/1.289, allocations: 5.34 MB / 1.014 GB, free: 133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/1.291, allocations: 1.894 MB / 1.016 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.291, allocations: 67.44 kB / 1.016 GB, free: 131 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/1.291, allocations: 2.297 kB / 1.016 GB, free: 131 MB / 0.7169 GB Notification: Performance of Templates: time 0.05556/1.347, allocations: 69.42 MB / 1.084 GB, free: 61.57 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)