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.001179/0.001179, allocations: 111.1 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.001239/0.00124, allocations: 189.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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002191, allocations: 283.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.2 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4821, allocations: 86.98 MB / 0.7671 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02754/0.5097, allocations: 22.58 MB / 0.7891 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.5223, allocations: 6.225 MB / 0.7952 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.5247, allocations: 99.5 kB / 0.7953 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.5294, allocations: 1.538 MB / 0.7968 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.5342, allocations: 1.622 MB / 0.7984 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.5385, allocations: 1.349 MB / 0.7997 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008109/0.5466, allocations: 5.943 MB / 0.8055 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009881/0.5565, allocations: 6.048 MB / 0.8114 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.5615, allocations: 2.438 MB / 0.8138 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005131/0.5667, allocations: 2.878 MB / 0.8166 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.5683, allocations: 456 kB / 0.817 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.5721, allocations: 1.096 MB / 0.8181 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003525/0.5757, allocations: 2.027 MB / 0.8201 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004992/0.5807, allocations: 2.167 MB / 0.8222 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.5911, allocations: 7.29 MB / 0.8293 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5912, allocations: 0 / 0.8293 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5912, allocations: 0 / 0.8293 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002408/0.5914, allocations: 0 / 0.8293 GB, free: 4.047 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.01037/0.6018, allocations: 3.836 MB / 0.8331 GB, free: 152 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6019, allocations: 8.031 kB / 0.8331 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007171/0.609, allocations: 1.206 MB / 0.8342 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/0.6146, allocations: 2.336 MB / 0.8365 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.6149, allocations: 238.4 kB / 0.8368 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.6164, allocations: 319.8 kB / 0.8371 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.6306, allocations: 6.216 MB / 0.8431 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001465/0.6308, allocations: 15.88 kB / 0.8431 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.6318, allocations: 139.9 kB / 0.8433 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005465/0.6324, allocations: 406.3 kB / 0.8437 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009352/0.6417, allocations: 4.658 MB / 0.8482 GB, free: 300 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.03575/0.6775, allocations: 28.95 MB / 0.8765 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.6798, allocations: 1.416 MB / 0.8779 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.682, allocations: 1.487 MB / 0.8793 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.6822, allocations: 13 kB / 0.8793 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.6822, allocations: 43.56 kB / 0.8794 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.617e-06/0.6822, allocations: 0 / 0.8794 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1554/0.8376, allocations: 37.24 MB / 0.9158 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.8378, allocations: 77.39 kB / 0.9158 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.8402, allocations: 1.419 MB / 0.9172 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003749/0.8406, allocations: 53.7 kB / 0.9173 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.8416, allocations: 1.539 MB / 0.9188 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008752/0.8425, allocations: 0.6122 MB / 0.9194 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.8437, allocations: 383.3 kB / 0.9197 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8438, allocations: 305.1 kB / 0.92 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.8465, allocations: 1.784 MB / 0.9218 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.8496, allocations: 2.35 MB / 0.9241 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00588/0.8555, allocations: 4.383 MB / 0.9283 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.8555, allocations: 8 kB / 0.9283 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01848/0.874, allocations: 8.567 MB / 0.9367 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.8741, allocations: 16 kB / 0.9367 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.8741, allocations: 16 kB / 0.9367 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0151/0.8892, allocations: 4.645 MB / 0.9413 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.8905, allocations: 299.5 kB / 0.9416 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3911/1.282, allocations: 32.58 MB / 0.9734 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.284, allocations: 152.8 kB / 0.9735 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/1.284, allocations: 80.09 kB / 0.9736 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.002225/1.286, allocations: 1.333 MB / 0.9749 GB, free: 181 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/1.287, allocations: 202.9 kB / 0.9751 GB, free: 181 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/1.303, allocations: 8.44 MB / 0.9833 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.303, allocations: 23.28 kB / 0.9834 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.737e-05/1.303, allocations: 23.69 kB / 0.9834 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.303, allocations: 11.59 kB / 0.9834 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/1.325, allocations: 12.84 MB / 0.9959 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/1.325, allocations: 7.531 kB / 0.9959 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/1.325, allocations: 170.4 kB / 0.9961 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01275/1.338, allocations: 4.487 MB / 1 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/1.339, allocations: 36.56 kB / 1.001 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/1.376, allocations: 32.19 MB / 1.032 GB, free: 139.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.376, allocations: 11.94 kB / 1.032 GB, free: 139.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.39, allocations: 8.24 MB / 1.04 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.391, allocations: 0.6195 MB / 1.041 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/1.392, allocations: 36 kB / 1.041 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.393, allocations: 143.5 kB / 1.041 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/1.394, allocations: 172.8 kB / 1.041 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.394, allocations: 44 kB / 1.041 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009663/1.395, allocations: 0.9627 MB / 1.042 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.395, allocations: 0 / 1.042 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002707/1.398, allocations: 1.113 MB / 1.043 GB, free: 128.4 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.0002574/1.398, allocations: 155 kB / 1.043 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.408, allocations: 6.54 MB / 1.05 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.408, allocations: 4 kB / 1.05 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008014/1.416, allocations: 4.359 MB / 1.054 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.419, allocations: 0.5166 MB / 1.054 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/1.428, allocations: 7.32 MB / 1.061 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.43, allocations: 2.805 MB / 1.064 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/1.431, allocations: 103.4 kB / 1.064 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of SimCode: time 6.62e-07/1.431, allocations: 0 / 1.064 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1127/1.543, allocations: 154.2 MB / 1.215 GB, free: 160 kB / 0.7794 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)