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.0009841/0.000984, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001132/0.001132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 270.8 kB / 291.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9939/0.9939, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004467, allocations: 17.22 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1906, allocations: 88.56 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03894/0.2296, allocations: 37.51 MB / 0.7211 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02242/0.252, allocations: 14.41 MB / 0.7352 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.2557, allocations: 159.1 kB / 0.7353 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.2581, allocations: 0.8372 MB / 0.7362 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.2644, allocations: 2.336 MB / 0.7384 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.2705, allocations: 1.888 MB / 0.7403 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01739/0.2879, allocations: 12.72 MB / 0.7527 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3462/0.6342, allocations: 13.98 MB / 0.7664 GB, free: 16.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006584/0.6408, allocations: 3.58 MB / 0.7699 GB, free: 16.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009214/0.65, allocations: 4.643 MB / 0.7744 GB, free: 16.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002418/0.6525, allocations: 397.9 kB / 0.7748 GB, free: 16.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005414/0.6579, allocations: 0.8903 MB / 0.7756 GB, free: 16.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.006309/0.6642, allocations: 2.971 MB / 0.7785 GB, free: 16.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00517/0.6694, allocations: 1.388 MB / 0.7799 GB, free: 16.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.6854, allocations: 11.76 MB / 0.7914 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.6854, allocations: 2.312 kB / 0.7914 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6854, allocations: 0 / 0.7914 GB, free: 14.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005082/0.6859, allocations: 0.9375 kB / 0.7914 GB, free: 14.77 MB / 0.545 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.01839/0.7043, allocations: 6.228 MB / 0.7975 GB, free: 11.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.7044, allocations: 9.625 kB / 0.7975 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.7152, allocations: 1.523 MB / 0.799 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.7257, allocations: 4.1 MB / 0.803 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.7261, allocations: 453.2 kB / 0.8034 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.7285, allocations: 0.5935 MB / 0.804 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.7498, allocations: 10.64 MB / 0.8144 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.75, allocations: 27.22 kB / 0.8144 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007608/0.7508, allocations: 268.9 kB / 0.8146 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.753, allocations: 0.7723 MB / 0.8154 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.7674, allocations: 8.515 MB / 0.8237 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0581/0.8255, allocations: 46.98 MB / 0.8696 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00579/0.8313, allocations: 4.292 MB / 0.8738 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/0.8369, allocations: 3.679 MB / 0.8774 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.8372, allocations: 41.59 kB / 0.8774 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.8372, allocations: 77.34 kB / 0.8775 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 4.959e-06/0.8372, allocations: 0 / 0.8775 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.4737/1.311, allocations: 127.9 MB / 1.002 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/1.311, allocations: 107.9 kB / 1.002 GB, free: 14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003801/1.315, allocations: 2.654 MB / 1.005 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/1.316, allocations: 125.7 kB / 1.005 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.318, allocations: 2.673 MB / 1.008 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.32, allocations: 1.958 MB / 1.01 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/1.321, allocations: 112 kB / 1.01 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003493/1.321, allocations: 0.5226 MB / 1.01 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006185/1.327, allocations: 4.06 MB / 1.014 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007103/1.334, allocations: 4.991 MB / 1.019 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007575/1.342, allocations: 4.821 MB / 1.024 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/1.342, allocations: 8 kB / 1.024 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03752/1.38, allocations: 16.91 MB / 1.04 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/1.38, allocations: 19.94 kB / 1.04 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/1.38, allocations: 24 kB / 1.04 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3565/1.736, allocations: 9.051 MB / 1.049 GB, free: 267.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/1.739, allocations: 0.5261 MB / 1.05 GB, free: 267.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09533/1.835, allocations: 70.61 MB / 1.119 GB, free: 229.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/1.841, allocations: 286.5 kB / 1.119 GB, free: 229.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.842, allocations: 188 kB / 1.119 GB, free: 229.2 MB / 0.7637 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005571/1.847, allocations: 2.425 MB / 1.122 GB, free: 227.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.848, allocations: 475.2 kB / 1.122 GB, free: 226.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03218/1.881, allocations: 16.75 MB / 1.138 GB, free: 213.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/1.881, allocations: 60 kB / 1.138 GB, free: 213 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002666/1.881, allocations: 72 kB / 1.138 GB, free: 212.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/1.881, allocations: 28.22 kB / 1.139 GB, free: 212.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0523/1.934, allocations: 25.62 MB / 1.164 GB, free: 187.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.557e-05/1.934, allocations: 8 kB / 1.164 GB, free: 187.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.935, allocations: 320.4 kB / 1.164 GB, free: 187.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02446/1.96, allocations: 8.257 MB / 1.172 GB, free: 179.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001318/1.961, allocations: 104 kB / 1.172 GB, free: 179.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07713/2.038, allocations: 67.46 MB / 1.238 GB, free: 110.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.039, allocations: 11.94 kB / 1.238 GB, free: 110.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0366/2.075, allocations: 21.47 MB / 1.259 GB, free: 88.38 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003982/2.079, allocations: 1.367 MB / 1.26 GB, free: 86.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/2.081, allocations: 108 kB / 1.26 GB, free: 86.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/2.084, allocations: 291.6 kB / 1.261 GB, free: 86.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002151/2.086, allocations: 0.518 MB / 1.261 GB, free: 86.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004424/2.087, allocations: 148 kB / 1.261 GB, free: 85.93 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002827/2.09, allocations: 1.749 MB / 1.263 GB, free: 84.19 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/2.09, allocations: 3.938 kB / 1.263 GB, free: 84.19 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.009887/2.099, allocations: 2.465 MB / 1.265 GB, free: 81.72 MB / 0.7637 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/2.1, allocations: 235.7 kB / 1.266 GB, free: 81.48 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02354/2.124, allocations: 14.47 MB / 1.28 GB, free: 66.84 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.343e-05/2.124, allocations: 3.938 kB / 1.28 GB, free: 66.83 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01827/2.142, allocations: 9.381 MB / 1.289 GB, free: 57.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/2.15, allocations: 1.295 MB / 1.29 GB, free: 56.03 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/2.176, allocations: 18.09 MB / 1.308 GB, free: 37.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006755/2.182, allocations: 4.904 MB / 1.313 GB, free: 32.89 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003154/2.186, allocations: 0.7448 MB / 1.313 GB, free: 32.14 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/2.186, allocations: 195.4 kB / 1.314 GB, free: 31.96 MB / 0.7637 GB Notification: Performance of SimCode: time 1.242e-06/2.186, allocations: 0 / 1.314 GB, free: 31.96 MB / 0.7637 GB Notification: Performance of Templates: time 0.5478/2.734, allocations: 135.4 MB / 1.446 GB, free: 188.9 MB / 0.7637 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)