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.001261/0.001261, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 290.9 kB / 290.7 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 98.95 kB / 0.5952 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02394/0.1723, allocations: 22.57 MB / 0.7022 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1832, allocations: 6.237 MB / 0.7083 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.1853, allocations: 99.44 kB / 0.7084 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.1894, allocations: 1.542 MB / 0.7099 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.193, allocations: 1.626 MB / 0.7115 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.1961, allocations: 1.34 MB / 0.7128 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005908/0.202, allocations: 5.943 MB / 0.7186 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006702/0.2087, allocations: 6.099 MB / 0.7246 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.2117, allocations: 2.395 MB / 0.7269 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.2148, allocations: 2.874 MB / 0.7297 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005587/0.2154, allocations: 456 kB / 0.7302 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.2172, allocations: 1.096 MB / 0.7312 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.2188, allocations: 2.031 MB / 0.7332 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.2208, allocations: 2.167 MB / 0.7353 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.2265, allocations: 7.249 MB / 0.7424 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2265, allocations: 0 / 0.7424 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2265, allocations: 0 / 0.7424 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.161e-05/0.2266, allocations: 0 / 0.7424 GB, free: 0.7305 MB / 0.5294 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.005742/0.2323, allocations: 3.809 MB / 0.7461 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2324, allocations: 8.031 kB / 0.7461 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/0.2381, allocations: 1.217 MB / 0.7473 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.2415, allocations: 2.219 MB / 0.7495 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.2417, allocations: 238.4 kB / 0.7497 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/0.2422, allocations: 319.8 kB / 0.75 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009055/0.2512, allocations: 6.212 MB / 0.7561 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.2513, allocations: 19.86 kB / 0.7561 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.2517, allocations: 143.9 kB / 0.7562 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004413/0.2521, allocations: 406.3 kB / 0.7566 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006821/0.2589, allocations: 4.658 MB / 0.7612 GB, free: 13.11 MB / 0.5606 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.3144/0.5733, allocations: 29.13 MB / 0.7896 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.5751, allocations: 1.421 MB / 0.791 GB, free: 71.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.5766, allocations: 1.493 MB / 0.7925 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.5767, allocations: 12.91 kB / 0.7925 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.5768, allocations: 44.53 kB / 0.7925 GB, free: 71.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.725e-06/0.5768, allocations: 0 / 0.7925 GB, free: 71.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1329/0.7097, allocations: 37.23 MB / 0.8289 GB, free: 53.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.7098, allocations: 73.41 kB / 0.829 GB, free: 53.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.7114, allocations: 1.423 MB / 0.8304 GB, free: 52.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.7116, allocations: 53.7 kB / 0.8304 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/0.7121, allocations: 1.538 MB / 0.8319 GB, free: 50.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.7125, allocations: 0.6074 MB / 0.8325 GB, free: 50 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005897/0.7131, allocations: 379.3 kB / 0.8329 GB, free: 49.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.7132, allocations: 305.1 kB / 0.8331 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.715, allocations: 1.784 MB / 0.8349 GB, free: 47.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.7171, allocations: 2.35 MB / 0.8372 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/0.7212, allocations: 4.391 MB / 0.8415 GB, free: 40.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.7212, allocations: 4 kB / 0.8415 GB, free: 40.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01456/0.7358, allocations: 8.578 MB / 0.8499 GB, free: 31.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.7358, allocations: 12 kB / 0.8499 GB, free: 31.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.7358, allocations: 16 kB / 0.8499 GB, free: 31.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01276/0.7486, allocations: 4.662 MB / 0.8544 GB, free: 26.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.7497, allocations: 299.4 kB / 0.8547 GB, free: 26.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03779/0.7875, allocations: 32.63 MB / 0.8866 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.7897, allocations: 151.8 kB / 0.8867 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.7899, allocations: 80 kB / 0.8868 GB, free: 9.016 MB / 0.5762 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.002008/0.7919, allocations: 1.334 MB / 0.8881 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.7922, allocations: 201.6 kB / 0.8883 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/0.8087, allocations: 8.437 MB / 0.8965 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.8087, allocations: 16 kB / 0.8966 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-05/0.8088, allocations: 28 kB / 0.8966 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.8088, allocations: 7.969 kB / 0.8966 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/0.8312, allocations: 12.84 MB / 0.9091 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.8313, allocations: 12.78 kB / 0.9091 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.8319, allocations: 163.7 kB / 0.9093 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01339/0.8453, allocations: 4.522 MB / 0.9137 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.8455, allocations: 36 kB / 0.9137 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04329/0.8888, allocations: 32.22 MB / 0.9452 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.8888, allocations: 15.94 kB / 0.9452 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.9046, allocations: 8.242 MB / 0.9533 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.9058, allocations: 0.6233 MB / 0.9539 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.9061, allocations: 32 kB / 0.9539 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9074, allocations: 139.8 kB / 0.954 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007139/0.9082, allocations: 176.8 kB / 0.9542 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.9083, allocations: 52 kB / 0.9543 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001149/0.9095, allocations: 0.9548 MB / 0.9552 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9095, allocations: 0 / 0.9552 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002755/0.9122, allocations: 1.117 MB / 0.9563 GB, free: 0.707 MB / 0.6387 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.0002586/0.9125, allocations: 151.1 kB / 0.9564 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01262/0.9251, allocations: 7.06 MB / 0.9633 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.9251, allocations: 4.875 kB / 0.9633 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008682/0.9338, allocations: 4.368 MB / 0.9676 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.9362, allocations: 0.5147 MB / 0.9681 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.9464, allocations: 6.875 MB / 0.9748 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.9489, allocations: 2.727 MB / 0.9775 GB, free: 10.79 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009197/0.9498, allocations: 389.9 kB / 0.9778 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.95, allocations: 91.44 kB / 0.9779 GB, free: 10.32 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.9501, allocations: 4 kB / 0.9779 GB, free: 10.32 MB / 0.67 GB Notification: Performance of Templates: time 0.08467/1.035, allocations: 60.5 MB / 1.037 GB, free: 14.18 MB / 0.7325 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)