Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 102.6 kB / 16.4 MB, free: 6.461 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.0016/0.0016, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 292.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9441/0.9441, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.001821, allocations: 95.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4346, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02552/0.4602, allocations: 22.58 MB / 0.7891 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.4714, allocations: 6.225 MB / 0.7952 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.4736, allocations: 91.56 kB / 0.7953 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004704/0.4784, allocations: 1.554 MB / 0.7968 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.4835, allocations: 1.719 MB / 0.7985 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.4877, allocations: 1.349 MB / 0.7998 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006782/0.4945, allocations: 5.951 MB / 0.8056 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008527/0.503, allocations: 6.048 MB / 0.8115 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.5071, allocations: 2.438 MB / 0.8139 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/0.5115, allocations: 2.878 MB / 0.8167 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.5128, allocations: 456 kB / 0.8171 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.5155, allocations: 1.096 MB / 0.8182 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002667/0.5182, allocations: 2.031 MB / 0.8202 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.522, allocations: 2.163 MB / 0.8223 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008214/0.5302, allocations: 7.29 MB / 0.8294 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5303, allocations: 3.938 kB / 0.8294 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5303, allocations: 0 / 0.8294 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002382/0.5305, allocations: 0 / 0.8294 GB, free: 3.77 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007928/0.5385, allocations: 3.832 MB / 0.8332 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5385, allocations: 8.031 kB / 0.8332 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/0.5446, allocations: 1.21 MB / 0.8344 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.5486, allocations: 2.34 MB / 0.8366 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.5488, allocations: 238.4 kB / 0.8369 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/0.5494, allocations: 319.9 kB / 0.8372 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009916/0.5593, allocations: 6.212 MB / 0.8432 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.599e-05/0.5594, allocations: 15.88 kB / 0.8433 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.5598, allocations: 139.9 kB / 0.8434 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/0.5603, allocations: 406.3 kB / 0.8438 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/0.5679, allocations: 4.662 MB / 0.8483 GB, free: 16 kB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.5967, allocations: 28.95 MB / 0.8766 GB, free: 364 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.5987, allocations: 1.419 MB / 0.878 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.6005, allocations: 1.49 MB / 0.8794 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.6006, allocations: 13 kB / 0.8795 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.6007, allocations: 43.56 kB / 0.8795 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.998e-06/0.6007, allocations: 3.984 kB / 0.8795 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1495/0.7502, allocations: 37.25 MB / 0.9159 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.7504, allocations: 73.41 kB / 0.9159 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.7522, allocations: 1.423 MB / 0.9173 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.7525, allocations: 49.7 kB / 0.9174 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009137/0.7534, allocations: 1.542 MB / 0.9189 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/0.7539, allocations: 0.6084 MB / 0.9195 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006947/0.7546, allocations: 379.3 kB / 0.9198 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.7547, allocations: 313.1 kB / 0.9201 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/0.7571, allocations: 1.784 MB / 0.9219 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.7599, allocations: 2.346 MB / 0.9242 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005517/0.7654, allocations: 4.387 MB / 0.9285 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.7655, allocations: 4 kB / 0.9285 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01758/0.783, allocations: 8.571 MB / 0.9368 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.7831, allocations: 12 kB / 0.9368 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.7832, allocations: 16 kB / 0.9369 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01456/0.7977, allocations: 4.647 MB / 0.9414 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.799, allocations: 299.5 kB / 0.9417 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4302/1.229, allocations: 32.58 MB / 0.9735 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/1.231, allocations: 148.2 kB / 0.9736 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.232, allocations: 85.88 kB / 0.9737 GB, free: 181.4 MB / 0.7325 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002192/1.234, allocations: 1.33 MB / 0.975 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/1.234, allocations: 207.6 kB / 0.9752 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.251, allocations: 8.431 MB / 0.9835 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/1.251, allocations: 27.31 kB / 0.9835 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.798e-05/1.251, allocations: 27.69 kB / 0.9835 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/1.251, allocations: 11.44 kB / 0.9835 GB, free: 178.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.271, allocations: 12.84 MB / 0.9961 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.271, allocations: 7.406 kB / 0.9961 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/1.272, allocations: 170.7 kB / 0.9962 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/1.284, allocations: 4.49 MB / 1.001 GB, free: 172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/1.285, allocations: 36 kB / 1.001 GB, free: 172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03679/1.321, allocations: 32.19 MB / 1.032 GB, free: 139.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.321, allocations: 11.94 kB / 1.032 GB, free: 139.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.336, allocations: 8.236 MB / 1.04 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.337, allocations: 0.6233 MB / 1.041 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/1.337, allocations: 37.41 kB / 1.041 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.338, allocations: 139.8 kB / 1.041 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007139/1.339, allocations: 176.7 kB / 1.041 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.339, allocations: 52 kB / 1.041 GB, free: 130 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009916/1.34, allocations: 0.9548 MB / 1.042 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.34, allocations: 0 / 1.042 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002822/1.343, allocations: 1.117 MB / 1.043 GB, free: 128 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/1.343, allocations: 159 kB / 1.043 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.354, allocations: 6.541 MB / 1.05 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.354, allocations: 0 / 1.05 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008078/1.362, allocations: 4.36 MB / 1.054 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.364, allocations: 0.5179 MB / 1.054 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/1.374, allocations: 7.305 MB / 1.062 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/1.376, allocations: 2.808 MB / 1.064 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1.377, allocations: 107.4 kB / 1.064 GB, free: 106 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/1.377, allocations: 0 / 1.064 GB, free: 106 MB / 0.7325 GB Notification: Performance of Templates: time 0.1173/1.494, allocations: 154.2 MB / 1.215 GB, free: 15.71 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)