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.001303/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00129/0.00129, allocations: 198.1 kB / 16.14 MB, free: 6.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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002596, allocations: 276.1 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 107.1 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1752, allocations: 89.14 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02929/0.2045, allocations: 23.21 MB / 0.7155 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.2168, allocations: 6.516 MB / 0.7218 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.2191, allocations: 87.5 kB / 0.7219 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.223, allocations: 1.344 MB / 0.7232 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.2286, allocations: 1.755 MB / 0.7249 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.233, allocations: 1.332 MB / 0.7262 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.246, allocations: 10.61 MB / 0.7366 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.2582, allocations: 7.61 MB / 0.744 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.2627, allocations: 2.417 MB / 0.7464 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.2688, allocations: 3.599 MB / 0.7499 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.27, allocations: 380 kB / 0.7503 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.2731, allocations: 1.201 MB / 0.7514 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.2761, allocations: 2.311 MB / 0.7537 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003603/0.2797, allocations: 2.356 MB / 0.756 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.574/0.8538, allocations: 8.38 MB / 0.7642 GB, free: 30.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.8538, allocations: 1.625 kB / 0.7642 GB, free: 30.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8538, allocations: 0 / 0.7642 GB, free: 30.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002867/0.8541, allocations: 0 / 0.7642 GB, free: 30.4 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01507/0.8692, allocations: 4.423 MB / 0.7685 GB, free: 28.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.8692, allocations: 10.28 kB / 0.7685 GB, free: 28.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009836/0.8791, allocations: 1.682 MB / 0.7702 GB, free: 28.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/0.886, allocations: 2.573 MB / 0.7727 GB, free: 27.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.8863, allocations: 275.4 kB / 0.7729 GB, free: 27.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.8879, allocations: 360.6 kB / 0.7733 GB, free: 27.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.9018, allocations: 7.489 MB / 0.7806 GB, free: 27.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/0.9019, allocations: 17.12 kB / 0.7806 GB, free: 27.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005048/0.9024, allocations: 159.6 kB / 0.7808 GB, free: 27.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006089/0.903, allocations: 484.6 kB / 0.7812 GB, free: 27.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.9136, allocations: 5.699 MB / 0.7868 GB, free: 27.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03553/0.9492, allocations: 31.72 MB / 0.8178 GB, free: 17.34 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.9519, allocations: 2.092 MB / 0.8198 GB, free: 16.25 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.9546, allocations: 2.183 MB / 0.8219 GB, free: 15.13 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.9548, allocations: 17.12 kB / 0.822 GB, free: 15.13 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.9548, allocations: 43.84 kB / 0.822 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=146): time 3.437e-06/0.9548, allocations: 0 / 0.822 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of matching and sorting (n=251): time 0.2943/1.249, allocations: 77 MB / 0.8972 GB, free: 10.56 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.249, allocations: 79.38 kB / 0.8973 GB, free: 10.48 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/1.252, allocations: 1.666 MB / 0.8989 GB, free: 8.762 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000522/1.252, allocations: 65.7 kB / 0.899 GB, free: 8.691 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.254, allocations: 1.756 MB / 0.9007 GB, free: 6.922 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.255, allocations: 0.8464 MB / 0.9015 GB, free: 6.082 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.256, allocations: 481.2 kB / 0.902 GB, free: 5.605 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.256, allocations: 309.1 kB / 0.9022 GB, free: 5.301 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/1.26, allocations: 2.734 MB / 0.9049 GB, free: 2.562 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004844/1.265, allocations: 3.328 MB / 0.9082 GB, free: 14.99 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0096/1.275, allocations: 6.395 MB / 0.9144 GB, free: 8.422 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.275, allocations: 4 kB / 0.9144 GB, free: 8.418 MB / 0.6388 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03502/1.31, allocations: 14.68 MB / 0.9288 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.31, allocations: 12 kB / 0.9288 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/1.31, allocations: 20 kB / 0.9288 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0319/1.342, allocations: 9.235 MB / 0.9378 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.343, allocations: 302.9 kB / 0.9381 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08154/1.425, allocations: 47.44 MB / 0.9844 GB, free: 272 kB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/1.428, allocations: 223.7 kB / 0.9846 GB, free: 48 kB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/1.428, allocations: 96.05 kB / 0.9847 GB, free: 15.95 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.002839/1.431, allocations: 1.593 MB / 0.9863 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/1.431, allocations: 249.1 kB / 0.9865 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03385/1.465, allocations: 14.76 MB / 1.001 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/1.465, allocations: 24 kB / 1.001 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/1.466, allocations: 44 kB / 1.001 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.892e-05/1.466, allocations: 11.95 kB / 1.001 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04465/1.51, allocations: 20.51 MB / 1.021 GB, free: 10.88 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.51, allocations: 11.94 kB / 1.021 GB, free: 10.87 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/1.511, allocations: 163.7 kB / 1.021 GB, free: 10.71 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0307/1.542, allocations: 9.014 MB / 1.03 GB, free: 1.672 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006124/1.542, allocations: 48 kB / 1.03 GB, free: 1.625 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3598/1.902, allocations: 47 MB / 1.076 GB, free: 259.2 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/1.902, allocations: 11.38 kB / 1.076 GB, free: 259.2 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02901/1.931, allocations: 14.36 MB / 1.09 GB, free: 253.8 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.933, allocations: 0.8487 MB / 1.091 GB, free: 253.3 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/1.934, allocations: 59.33 kB / 1.091 GB, free: 253.3 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.935, allocations: 212.6 kB / 1.091 GB, free: 253.2 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/1.937, allocations: 234.3 kB / 1.091 GB, free: 253.1 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.937, allocations: 66.56 kB / 1.091 GB, free: 253 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.001204/1.938, allocations: 1.121 MB / 1.092 GB, free: 252.4 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.5e-07/1.938, allocations: 0 / 1.092 GB, free: 252.4 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.003977/1.942, allocations: 1.613 MB / 1.094 GB, free: 252.3 MB / 0.7638 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.0003505/1.942, allocations: 169.5 kB / 1.094 GB, free: 252.2 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.961, allocations: 10.53 MB / 1.104 GB, free: 245.2 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.961, allocations: 4 kB / 1.104 GB, free: 245.2 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.01466/1.976, allocations: 7.316 MB / 1.112 GB, free: 237.8 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/1.979, allocations: 0.5182 MB / 1.112 GB, free: 237.3 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.992, allocations: 10.61 MB / 1.122 GB, free: 226.7 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/1.995, allocations: 3.226 MB / 1.126 GB, free: 223.4 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001059/1.996, allocations: 388.8 kB / 1.126 GB, free: 223 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/1.996, allocations: 103.4 kB / 1.126 GB, free: 222.9 MB / 0.7638 GB Notification: Performance of SimCode: time 7.32e-07/1.996, allocations: 4 kB / 1.126 GB, free: 222.9 MB / 0.7638 GB Notification: Performance of Templates: time 0.1023/2.099, allocations: 89.7 MB / 1.214 GB, free: 133.6 MB / 0.7638 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)