Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.713/1.713, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 171.1 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205 MB / 0.5766 GB, free: 20.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006904/0.0006906, allocations: 86.36 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003176, allocations: 8.375 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1896, allocations: 105.4 MB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0153/0.2049, allocations: 19.71 MB / 0.916 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008526/0.2135, allocations: 6.496 MB / 0.9223 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.2153, allocations: 75.62 kB / 0.9224 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.2197, allocations: 2.083 MB / 0.9244 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.2225, allocations: 1.108 MB / 0.9255 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.2251, allocations: 1.165 MB / 0.9267 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005107/0.2302, allocations: 6.972 MB / 0.9335 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006557/0.2368, allocations: 6.116 MB / 0.9394 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.2391, allocations: 1.54 MB / 0.9409 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.2411, allocations: 2.024 MB / 0.9429 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.2414, allocations: 176 kB / 0.9431 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2429, allocations: 0.9241 MB / 0.944 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000968/0.2439, allocations: 1.348 MB / 0.9453 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.2451, allocations: 1.547 MB / 0.9468 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.2484, allocations: 5.4 MB / 0.9521 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2484, allocations: 0 / 0.9521 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2484, allocations: 0 / 0.9521 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001023/0.2485, allocations: 3.938 kB / 0.9521 GB, free: 10.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004259/0.2528, allocations: 2.824 MB / 0.9549 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2529, allocations: 8.031 kB / 0.9549 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.2559, allocations: 0.6449 MB / 0.9555 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.2587, allocations: 1.936 MB / 0.9574 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.2588, allocations: 230.2 kB / 0.9576 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003959/0.2592, allocations: 296.2 kB / 0.9579 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006733/0.266, allocations: 4.883 MB / 0.9627 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.818e-05/0.2661, allocations: 15.94 kB / 0.9627 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.2664, allocations: 128 kB / 0.9628 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004394/0.2668, allocations: 229.7 kB / 0.963 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006099/0.2729, allocations: 3.75 MB / 0.9667 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.2944, allocations: 21.62 MB / 0.9878 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.2963, allocations: 1.308 MB / 0.9891 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.2976, allocations: 1.038 MB / 0.9901 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.879e-05/0.2977, allocations: 13 kB / 0.9901 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.2977, allocations: 43.56 kB / 0.9901 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.2977, allocations: 0 / 0.9901 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.02319/0.3209, allocations: 8.711 MB / 0.9986 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.321, allocations: 68.72 kB / 0.9987 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.3226, allocations: 1.126 MB / 0.9998 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.3227, allocations: 49.7 kB / 0.9998 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000898/0.3236, allocations: 1.304 MB / 1.001 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.3241, allocations: 477.1 kB / 1.002 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.3243, allocations: 129.6 kB / 1.002 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3244, allocations: 305.1 kB / 1.002 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3256, allocations: 0.9135 MB / 1.003 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.3271, allocations: 1.326 MB / 1.004 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.3301, allocations: 2.43 MB / 1.007 GB, free: 156 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.3301, allocations: 4 kB / 1.007 GB, free: 152 kB / 0.6511 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006215/0.3363, allocations: 3.472 MB / 1.01 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.3364, allocations: 12 kB / 1.01 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.3364, allocations: 15.98 kB / 1.01 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003254/0.3397, allocations: 1.173 MB / 1.011 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.3407, allocations: 263.5 kB / 1.011 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.3562, allocations: 12.76 MB / 1.024 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.3576, allocations: 87.97 kB / 1.024 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.3578, allocations: 64 kB / 1.024 GB, free: 13.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001899/0.3597, allocations: 1.118 MB / 1.025 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.36, allocations: 158.1 kB / 1.025 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/0.3654, allocations: 3.181 MB / 1.028 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.3655, allocations: 12 kB / 1.028 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/0.3655, allocations: 15.94 kB / 1.028 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.3655, allocations: 7.922 kB / 1.028 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.3758, allocations: 6.237 MB / 1.034 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.3759, allocations: 4.938 kB / 1.034 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.3764, allocations: 155.8 kB / 1.035 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/0.3793, allocations: 1.067 MB / 1.036 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.3795, allocations: 35.94 kB / 1.036 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.3945, allocations: 12.45 MB / 1.048 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3946, allocations: 8 kB / 1.048 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.4, allocations: 3.15 MB / 1.051 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.4009, allocations: 423.1 kB / 1.051 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.4011, allocations: 28 kB / 1.051 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.4019, allocations: 88.2 kB / 1.051 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/0.4023, allocations: 124.7 kB / 1.052 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.4024, allocations: 36 kB / 1.052 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001012/0.4034, allocations: 0.7671 MB / 1.052 GB, free: 156 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4034, allocations: 0 / 1.052 GB, free: 156 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.3998/0.8033, allocations: 0.6567 MB / 1.053 GB, free: 141.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.8036, allocations: 146 kB / 1.053 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004786/0.8084, allocations: 3.138 MB / 1.056 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.8084, allocations: 0 / 1.056 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.8113, allocations: 1.961 MB / 1.058 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.8143, allocations: 469.3 kB / 1.059 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.8259, allocations: 7.167 MB / 1.066 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.8289, allocations: 2.386 MB / 1.068 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.8294, allocations: 97.56 kB / 1.068 GB, free: 136.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.8294, allocations: 4 kB / 1.068 GB, free: 136.7 MB / 0.698 GB Notification: Performance of Templates: time 0.08013/0.9095, allocations: 79.08 MB / 1.145 GB, free: 72.97 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)