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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01201/0.01201, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.001739/0.00174, allocations: 188.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 72.42 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02505/0.3023, allocations: 20.17 MB / 0.8478 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3149, allocations: 6.496 MB / 0.8541 GB, free: 5.449 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.3174, allocations: 83.62 kB / 0.8542 GB, free: 5.367 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00618/0.3237, allocations: 2.244 MB / 0.8564 GB, free: 3.117 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.3282, allocations: 1.236 MB / 0.8576 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.3325, allocations: 1.282 MB / 0.8588 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007795/0.3403, allocations: 4.865 MB / 0.8636 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009508/0.3499, allocations: 5.583 MB / 0.869 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.3544, allocations: 2.123 MB / 0.8711 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.3594, allocations: 2.344 MB / 0.8734 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.3612, allocations: 432 kB / 0.8738 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.3649, allocations: 0.9909 MB / 0.8748 GB, free: 176 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003415/0.3683, allocations: 1.665 MB / 0.8764 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005311/0.3737, allocations: 1.922 MB / 0.8783 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.384, allocations: 6.517 MB / 0.8846 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.384, allocations: 0 / 0.8846 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.823e-06/0.384, allocations: 0 / 0.8846 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002537/0.3843, allocations: 0 / 0.8846 GB, free: 6.039 MB / 0.7012 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.009979/0.3943, allocations: 3.466 MB / 0.888 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3943, allocations: 8.031 kB / 0.888 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.3979, allocations: 0.6372 MB / 0.8887 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.4015, allocations: 2.041 MB / 0.8906 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.4017, allocations: 222.3 kB / 0.8909 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/0.4021, allocations: 292.3 kB / 0.8911 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008157/0.4103, allocations: 4.89 MB / 0.8959 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.4104, allocations: 23.78 kB / 0.8959 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.4107, allocations: 124 kB / 0.8961 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004415/0.4112, allocations: 229.7 kB / 0.8963 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006299/0.4175, allocations: 3.75 MB / 0.8999 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6468/1.064, allocations: 21.41 MB / 0.9208 GB, free: 81.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/1.066, allocations: 1.307 MB / 0.9221 GB, free: 80.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.068, allocations: 1.052 MB / 0.9231 GB, free: 80.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-05/1.068, allocations: 11.28 kB / 0.9232 GB, free: 80.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.068, allocations: 46.47 kB / 0.9232 GB, free: 80.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=107): time 3.627e-06/1.068, allocations: 2.969 kB / 0.9232 GB, free: 80.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138): time 0.02783/1.096, allocations: 8.662 MB / 0.9317 GB, free: 79.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.096, allocations: 69.09 kB / 0.9317 GB, free: 79.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/1.098, allocations: 1.129 MB / 0.9328 GB, free: 78.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.099, allocations: 47.42 kB / 0.9329 GB, free: 78.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.1, allocations: 1.298 MB / 0.9341 GB, free: 77.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/1.1, allocations: 484.8 kB / 0.9346 GB, free: 77.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/1.101, allocations: 290.5 kB / 0.9349 GB, free: 77.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.101, allocations: 301.1 kB / 0.9352 GB, free: 77.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/1.103, allocations: 0.9137 MB / 0.9361 GB, free: 76.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.104, allocations: 1.327 MB / 0.9374 GB, free: 75.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/1.108, allocations: 2.422 MB / 0.9397 GB, free: 74.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.108, allocations: 3.812 kB / 0.9397 GB, free: 74.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00688/1.115, allocations: 3.462 MB / 0.9431 GB, free: 73.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/1.115, allocations: 15.52 kB / 0.9431 GB, free: 73.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/1.115, allocations: 15.34 kB / 0.9431 GB, free: 73.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/1.119, allocations: 1.189 MB / 0.9443 GB, free: 72.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.12, allocations: 260.5 kB / 0.9445 GB, free: 72.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.136, allocations: 13.84 MB / 0.9581 GB, free: 64.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.138, allocations: 95.23 kB / 0.9582 GB, free: 64.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.138, allocations: 61.22 kB / 0.9582 GB, free: 64.33 MB / 0.7325 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.001997/1.14, allocations: 1.117 MB / 0.9593 GB, free: 63.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/1.141, allocations: 160.7 kB / 0.9595 GB, free: 63.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006171/1.147, allocations: 3.173 MB / 0.9626 GB, free: 62.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.147, allocations: 15.75 kB / 0.9626 GB, free: 62.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.147, allocations: 11.84 kB / 0.9626 GB, free: 62.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.147, allocations: 7.969 kB / 0.9626 GB, free: 62.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/1.156, allocations: 6.248 MB / 0.9687 GB, free: 58.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.156, allocations: 7.625 kB / 0.9687 GB, free: 58.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/1.157, allocations: 152.7 kB / 0.9688 GB, free: 58.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/1.159, allocations: 1.064 MB / 0.9699 GB, free: 57.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/1.159, allocations: 31.53 kB / 0.9699 GB, free: 57.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.173, allocations: 13.53 MB / 0.9831 GB, free: 45.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.173, allocations: 7.938 kB / 0.9831 GB, free: 45.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/1.177, allocations: 3.158 MB / 0.9862 GB, free: 42.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007769/1.178, allocations: 423.8 kB / 0.9866 GB, free: 42.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.178, allocations: 27.98 kB / 0.9866 GB, free: 42.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/1.179, allocations: 83.91 kB / 0.9867 GB, free: 42.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.18, allocations: 124.7 kB / 0.9868 GB, free: 41.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/1.18, allocations: 39.94 kB / 0.9869 GB, free: 41.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008526/1.18, allocations: 0.7671 MB / 0.9876 GB, free: 41.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.242e-06/1.18, allocations: 2.906 kB / 0.9876 GB, free: 41.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002285/1.183, allocations: 0.6646 MB / 0.9883 GB, free: 40.46 MB / 0.7325 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.0002967/1.183, allocations: 139.1 kB / 0.9884 GB, free: 40.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004336/1.187, allocations: 3.146 MB / 0.9915 GB, free: 37.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.187, allocations: 0 / 0.9915 GB, free: 37.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/1.19, allocations: 1.952 MB / 0.9934 GB, free: 35.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.192, allocations: 0.4986 MB / 0.9939 GB, free: 34.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/1.2, allocations: 5.366 MB / 0.9991 GB, free: 29.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.202, allocations: 2.34 MB / 1.001 GB, free: 26.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001034/1.203, allocations: 358.1 kB / 1.002 GB, free: 26.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/1.203, allocations: 87.38 kB / 1.002 GB, free: 26.45 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/1.203, allocations: 3.938 kB / 1.002 GB, free: 26.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.04851/1.252, allocations: 33.2 MB / 1.034 GB, free: 9.715 MB / 0.7481 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)