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.001315/0.001315, allocations: 109.7 kB / 16.41 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.001276/0.001276, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 288.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4285, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02908/0.4576, allocations: 22.63 MB / 0.7892 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.47, allocations: 6.233 MB / 0.7953 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.4728, allocations: 95.5 kB / 0.7953 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004902/0.4777, allocations: 1.568 MB / 0.7969 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.4831, allocations: 1.719 MB / 0.7986 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.4875, allocations: 1.353 MB / 0.7999 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00795/0.4955, allocations: 5.943 MB / 0.8057 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006748/0.5022, allocations: 4.479 MB / 0.8101 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.5065, allocations: 2.446 MB / 0.8124 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.5115, allocations: 2.862 MB / 0.8152 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.5126, allocations: 464 kB / 0.8157 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.5152, allocations: 1.1 MB / 0.8168 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002619/0.5178, allocations: 2.081 MB / 0.8188 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00329/0.5211, allocations: 2.17 MB / 0.8209 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009402/0.5305, allocations: 7.31 MB / 0.828 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5305, allocations: 3.938 kB / 0.8281 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5305, allocations: 0 / 0.8281 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002143/0.5307, allocations: 0 / 0.8281 GB, free: 5.219 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.01024/0.5409, allocations: 3.925 MB / 0.8319 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.541, allocations: 12.03 kB / 0.8319 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007658/0.5487, allocations: 1.233 MB / 0.8331 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006766/0.5554, allocations: 2.344 MB / 0.8354 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.5558, allocations: 238.4 kB / 0.8356 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.5569, allocations: 319.9 kB / 0.8359 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.5695, allocations: 6.212 MB / 0.842 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-05/0.5696, allocations: 11.88 kB / 0.842 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000428/0.5701, allocations: 140 kB / 0.8421 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005356/0.5706, allocations: 406.2 kB / 0.8425 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009176/0.5798, allocations: 4.662 MB / 0.8471 GB, free: 1.344 MB / 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.04099/0.6208, allocations: 29 MB / 0.8754 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.623, allocations: 1.381 MB / 0.8767 GB, free: 248 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.6251, allocations: 1.439 MB / 0.8781 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.855e-05/0.6252, allocations: 9 kB / 0.8782 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.6252, allocations: 47.56 kB / 0.8782 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.386e-06/0.6252, allocations: 0 / 0.8782 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1503/0.7755, allocations: 37.15 MB / 0.9145 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.7756, allocations: 69.41 kB / 0.9145 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.7777, allocations: 1.415 MB / 0.9159 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.778, allocations: 53.7 kB / 0.916 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.7793, allocations: 1.586 MB / 0.9175 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/0.78, allocations: 0.639 MB / 0.9182 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/0.7808, allocations: 383.5 kB / 0.9185 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7809, allocations: 305.1 kB / 0.9188 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.7838, allocations: 1.788 MB / 0.9206 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003484/0.7872, allocations: 2.342 MB / 0.9228 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/0.7936, allocations: 4.391 MB / 0.9271 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.7936, allocations: 4 kB / 0.9271 GB, free: 12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01915/0.8128, allocations: 8.435 MB / 0.9354 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.8128, allocations: 15.98 kB / 0.9354 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.8128, allocations: 20 kB / 0.9354 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/0.8284, allocations: 4.635 MB / 0.9399 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.8297, allocations: 303.4 kB / 0.9402 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4036/1.233, allocations: 32.62 MB / 0.9721 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.236, allocations: 147.8 kB / 0.9722 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/1.236, allocations: 87.47 kB / 0.9723 GB, free: 180.9 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.002281/1.238, allocations: 1.328 MB / 0.9736 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/1.239, allocations: 217.1 kB / 0.9738 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.255, allocations: 8.295 MB / 0.9819 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.255, allocations: 23.53 kB / 0.9819 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/1.255, allocations: 23.59 kB / 0.9819 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.256, allocations: 9.094 kB / 0.982 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/1.276, allocations: 12.7 MB / 0.9944 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.276, allocations: 10.25 kB / 0.9944 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/1.277, allocations: 166.7 kB / 0.9945 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01288/1.29, allocations: 4.482 MB / 0.9989 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002622/1.29, allocations: 35.44 kB / 0.9989 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03689/1.327, allocations: 32.24 MB / 1.03 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.327, allocations: 4 kB / 1.03 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.341, allocations: 8.112 MB / 1.038 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.342, allocations: 0.6245 MB / 1.039 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.343, allocations: 39.94 kB / 1.039 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.344, allocations: 135.8 kB / 1.039 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007209/1.345, allocations: 169 kB / 1.039 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.345, allocations: 55.94 kB / 1.039 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009837/1.346, allocations: 0.951 MB / 1.04 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/1.346, allocations: 0 / 1.04 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00284/1.349, allocations: 1.117 MB / 1.041 GB, free: 129.5 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.000284/1.349, allocations: 159.5 kB / 1.042 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.359, allocations: 6.301 MB / 1.048 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.359, allocations: 7.938 kB / 1.048 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007884/1.367, allocations: 4.184 MB / 1.052 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.37, allocations: 0.5301 MB / 1.052 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/1.379, allocations: 6.909 MB / 1.059 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.381, allocations: 2.719 MB / 1.062 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009403/1.382, allocations: 388.6 kB / 1.062 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/1.382, allocations: 91.44 kB / 1.062 GB, free: 108 MB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/1.382, allocations: 0 / 1.062 GB, free: 108 MB / 0.7325 GB Notification: Performance of Templates: time 0.07301/1.455, allocations: 61.62 MB / 1.122 GB, free: 46.73 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)