Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001169/0.001169, allocations: 192 kB / 17.31 MB, free: 5.18 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002076, allocations: 279.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 104.8 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1606, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.328/0.4886, allocations: 23.39 MB / 0.7045 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4997, allocations: 6.486 MB / 0.7108 GB, free: 2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.5023, allocations: 99.94 kB / 0.7109 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.5062, allocations: 1.49 MB / 0.7123 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.5112, allocations: 1.827 MB / 0.7141 GB, free: 40 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.5154, allocations: 1.458 MB / 0.7156 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009439/0.5248, allocations: 6.916 MB / 0.7223 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/0.5356, allocations: 6.941 MB / 0.7291 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/0.5417, allocations: 2.853 MB / 0.7319 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006448/0.5482, allocations: 3.466 MB / 0.7353 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.5503, allocations: 0.5265 MB / 0.7358 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.5545, allocations: 1.179 MB / 0.7369 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004351/0.5589, allocations: 2.463 MB / 0.7393 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006423/0.5653, allocations: 2.538 MB / 0.7418 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.5763, allocations: 8.521 MB / 0.7501 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.5764, allocations: 0 / 0.7501 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5764, allocations: 0 / 0.7501 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002291/0.5766, allocations: 0 / 0.7501 GB, free: 9.461 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009197/0.5858, allocations: 4.435 MB / 0.7545 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5859, allocations: 12.03 kB / 0.7545 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/0.5937, allocations: 1.677 MB / 0.7561 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006245/0.5999, allocations: 2.692 MB / 0.7587 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.6002, allocations: 275.7 kB / 0.759 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.6015, allocations: 364.2 kB / 0.7593 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.6147, allocations: 7.483 MB / 0.7667 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-05/0.6148, allocations: 15.88 kB / 0.7667 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/0.6152, allocations: 159.9 kB / 0.7668 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000561/0.6158, allocations: 487.3 kB / 0.7673 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008823/0.6246, allocations: 5.705 MB / 0.7729 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.6572, allocations: 31.49 MB / 0.8036 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.6599, allocations: 2.094 MB / 0.8057 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/0.6625, allocations: 2.174 MB / 0.8078 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.6627, allocations: 21.31 kB / 0.8078 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.6627, allocations: 51.86 kB / 0.8078 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 2.876e-06/0.6627, allocations: 0 / 0.8078 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2654/0.9281, allocations: 76.99 MB / 0.883 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.9282, allocations: 77.41 kB / 0.8831 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9306, allocations: 1.67 MB / 0.8847 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004114/0.931, allocations: 77.58 kB / 0.8848 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.9321, allocations: 1.751 MB / 0.8865 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009192/0.9331, allocations: 0.8471 MB / 0.8873 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009745/0.934, allocations: 485.2 kB / 0.8878 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9342, allocations: 301.1 kB / 0.8881 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/0.9378, allocations: 2.726 MB / 0.8908 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.9417, allocations: 3.336 MB / 0.894 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007907/0.9496, allocations: 6.397 MB / 0.9003 GB, free: 11.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.9496, allocations: 8 kB / 0.9003 GB, free: 11.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02937/0.979, allocations: 14.68 MB / 0.9146 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.9791, allocations: 12 kB / 0.9146 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.9791, allocations: 19.94 kB / 0.9146 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02703/1.006, allocations: 9.238 MB / 0.9237 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.007, allocations: 303.4 kB / 0.9239 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3807/1.388, allocations: 52.32 MB / 0.975 GB, free: 218.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.391, allocations: 228.5 kB / 0.9753 GB, free: 218 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006122/1.392, allocations: 99.19 kB / 0.9753 GB, free: 218 MB / 0.7169 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002981/1.395, allocations: 1.585 MB / 0.9769 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007377/1.395, allocations: 242.8 kB / 0.9771 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02857/1.424, allocations: 14.76 MB / 0.9915 GB, free: 213.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/1.424, allocations: 31.05 kB / 0.9916 GB, free: 213.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001348/1.424, allocations: 43.78 kB / 0.9916 GB, free: 213.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/1.424, allocations: 15.52 kB / 0.9916 GB, free: 213.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03521/1.46, allocations: 20.52 MB / 1.012 GB, free: 206.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.46, allocations: 11.62 kB / 1.012 GB, free: 206.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/1.46, allocations: 163.4 kB / 1.012 GB, free: 206.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02431/1.485, allocations: 9.007 MB / 1.021 GB, free: 201.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000406/1.485, allocations: 51.12 kB / 1.021 GB, free: 201.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05941/1.544, allocations: 51.89 MB / 1.071 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.545, allocations: 11.94 kB / 1.071 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/1.57, allocations: 14.37 MB / 1.085 GB, free: 136 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.572, allocations: 0.8412 MB / 1.086 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/1.572, allocations: 55.28 kB / 1.086 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/1.574, allocations: 207.6 kB / 1.086 GB, free: 134.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/1.575, allocations: 241.5 kB / 1.087 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/1.575, allocations: 67.38 kB / 1.087 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001223/1.577, allocations: 1.125 MB / 1.088 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.577, allocations: 4 kB / 1.088 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004016/1.581, allocations: 1.609 MB / 1.089 GB, free: 131.8 MB / 0.7169 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003535/1.581, allocations: 169.9 kB / 1.09 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01837/1.599, allocations: 10.57 MB / 1.1 GB, free: 121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.599, allocations: 4 kB / 1.1 GB, free: 121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/1.614, allocations: 7.299 MB / 1.107 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.616, allocations: 0.5501 MB / 1.108 GB, free: 113.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/1.629, allocations: 8.704 MB / 1.116 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.632, allocations: 3.22 MB / 1.119 GB, free: 101.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000968/1.633, allocations: 391.3 kB / 1.12 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/1.633, allocations: 95.44 kB / 1.12 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.263e-06/1.633, allocations: 0 / 1.12 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.1053/1.738, allocations: 91.86 MB / 1.209 GB, free: 9.133 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)