Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001032/0.001032, allocations: 194.7 kB / 16.25 MB, free: 6.625 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 278.7 kB / 290.4 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9626/0.9626, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 89.09 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 86.99 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04121/0.1874, allocations: 40.78 MB / 0.7195 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.2102, allocations: 14.97 MB / 0.7341 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003664/0.2139, allocations: 171 kB / 0.7343 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0105/0.2245, allocations: 4.178 MB / 0.7383 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.2321, allocations: 2.578 MB / 0.7408 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007171/0.2393, allocations: 2.883 MB / 0.7437 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01427/0.2536, allocations: 11.45 MB / 0.7548 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.2739, allocations: 14.85 MB / 0.7693 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2848/0.5587, allocations: 4.885 MB / 0.7741 GB, free: 27.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009643/0.5684, allocations: 5.634 MB / 0.7796 GB, free: 27.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003651/0.5721, allocations: 0.9487 MB / 0.7805 GB, free: 27.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.5778, allocations: 2.036 MB / 0.7825 GB, free: 27.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004771/0.5826, allocations: 3.699 MB / 0.7861 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006405/0.5891, allocations: 4.296 MB / 0.7903 GB, free: 26.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.6049, allocations: 14.3 MB / 0.8043 GB, free: 24.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6049, allocations: 1.469 kB / 0.8043 GB, free: 24.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6049, allocations: 0 / 0.8043 GB, free: 24.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004722/0.6054, allocations: 0 / 0.8043 GB, free: 24.52 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03038/0.6358, allocations: 7.595 MB / 0.8117 GB, free: 20.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6358, allocations: 9.625 kB / 0.8117 GB, free: 20.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.6484, allocations: 1.521 MB / 0.8132 GB, free: 20.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.6586, allocations: 4.2 MB / 0.8173 GB, free: 18.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.6591, allocations: 457.6 kB / 0.8178 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/0.6627, allocations: 0.5986 MB / 0.8183 GB, free: 18.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.69, allocations: 10.68 MB / 0.8288 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003407/0.6903, allocations: 36.81 kB / 0.8288 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/0.6934, allocations: 260.4 kB / 0.8291 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002725/0.6962, allocations: 0.7749 MB / 0.8298 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.7153, allocations: 8.558 MB / 0.8382 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06741/0.7828, allocations: 46.87 MB / 0.8839 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/0.7893, allocations: 4.306 MB / 0.8881 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005939/0.7953, allocations: 3.703 MB / 0.8918 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.7957, allocations: 38.72 kB / 0.8918 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.238e-05/0.7958, allocations: 73.34 kB / 0.8919 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.11e-06/0.7958, allocations: 0 / 0.8919 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.4938/1.29, allocations: 122.8 MB / 1.012 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.29, allocations: 111.9 kB / 1.012 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005324/1.295, allocations: 2.685 MB / 1.015 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00145/1.297, allocations: 121.7 kB / 1.015 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.299, allocations: 2.677 MB / 1.017 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002923/1.302, allocations: 1.948 MB / 1.019 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003584/1.305, allocations: 0.9324 MB / 1.02 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/1.305, allocations: 301.1 kB / 1.02 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006734/1.312, allocations: 4.079 MB / 1.024 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00796/1.32, allocations: 5.016 MB / 1.029 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/1.337, allocations: 9.853 MB / 1.039 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/1.337, allocations: 4 kB / 1.039 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04375/1.381, allocations: 16.99 MB / 1.055 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/1.381, allocations: 19.98 kB / 1.055 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/1.381, allocations: 24 kB / 1.056 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03293/1.414, allocations: 9.147 MB / 1.064 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/1.416, allocations: 0.5269 MB / 1.065 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3846/1.801, allocations: 77.02 MB / 1.14 GB, free: 208.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005625/1.807, allocations: 276.6 kB / 1.14 GB, free: 208.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.808, allocations: 193.6 kB / 1.141 GB, free: 208.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005188/1.813, allocations: 2.423 MB / 1.143 GB, free: 207.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.815, allocations: 479.7 kB / 1.143 GB, free: 207.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03507/1.85, allocations: 16.81 MB / 1.16 GB, free: 193.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/1.85, allocations: 52 kB / 1.16 GB, free: 193.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002038/1.85, allocations: 76 kB / 1.16 GB, free: 193.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-05/1.85, allocations: 33.98 kB / 1.16 GB, free: 193.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05153/1.902, allocations: 25.65 MB / 1.185 GB, free: 168.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/1.902, allocations: 8.688 kB / 1.185 GB, free: 168.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.903, allocations: 324.2 kB / 1.185 GB, free: 167.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02682/1.93, allocations: 8.337 MB / 1.194 GB, free: 159.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/1.931, allocations: 108 kB / 1.194 GB, free: 159.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08495/2.016, allocations: 73.9 MB / 1.266 GB, free: 84.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/2.017, allocations: 15.69 kB / 1.266 GB, free: 84.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0443/2.061, allocations: 21.56 MB / 1.287 GB, free: 62.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/2.065, allocations: 1.354 MB / 1.288 GB, free: 61.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/2.067, allocations: 108.1 kB / 1.288 GB, free: 60.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004507/2.071, allocations: 295.6 kB / 1.289 GB, free: 60.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002419/2.074, allocations: 0.5309 MB / 1.289 GB, free: 60.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008614/2.074, allocations: 140 kB / 1.289 GB, free: 60.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002993/2.077, allocations: 1.78 MB / 1.291 GB, free: 58.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.71e-07/2.077, allocations: 0 / 1.291 GB, free: 58.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009463/2.087, allocations: 2.461 MB / 1.293 GB, free: 55.81 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/2.088, allocations: 241.8 kB / 1.294 GB, free: 55.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.03201/2.12, allocations: 18.67 MB / 1.312 GB, free: 36.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.12, allocations: 4 kB / 1.312 GB, free: 36.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01659/2.137, allocations: 9.358 MB / 1.321 GB, free: 27.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008062/2.145, allocations: 1.377 MB / 1.322 GB, free: 26.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/2.172, allocations: 18.74 MB / 1.341 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006688/2.179, allocations: 4.901 MB / 1.345 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003182/2.182, allocations: 0.741 MB / 1.346 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/2.183, allocations: 199.4 kB / 1.346 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of SimCode: time 9.32e-07/2.183, allocations: 0 / 1.346 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of Templates: time 0.4823/2.666, allocations: 148.4 MB / 1.491 GB, free: 187.7 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)