Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.236/2.236, allocations: 288.4 MB / 303.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 183.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 0.631 GB, free: 9.789 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.34 kB / 0.7444 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 19.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005032/0.2841, allocations: 3.835 MB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004159/0.2883, allocations: 3.01 MB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.2889, allocations: 11.88 kB / 0.9868 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.2897, allocations: 163 kB / 0.987 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.2911, allocations: 333.1 kB / 0.9873 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.2918, allocations: 191.5 kB / 0.9875 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000897/0.2927, allocations: 0.6658 MB / 0.9881 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.2941, allocations: 0.8125 MB / 0.9889 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.2945, allocations: 187.2 kB / 0.9891 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.295, allocations: 235.1 kB / 0.9893 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.1e-05/0.2951, allocations: 20 kB / 0.9894 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.2958, allocations: 363.3 kB / 0.9897 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.296, allocations: 135.6 kB / 0.9898 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.2962, allocations: 212.8 kB / 0.99 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.297, allocations: 0.6818 MB / 0.9907 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.297, allocations: 4 kB / 0.9907 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.297, allocations: 0 / 0.9907 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.297, allocations: 0 / 0.9907 GB, free: 16.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001304/0.2983, allocations: 0.7169 MB / 0.9914 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2984, allocations: 8.031 kB / 0.9914 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.3011, allocations: 0.6868 MB / 0.9921 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.3019, allocations: 491.6 kB / 0.9926 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.302, allocations: 24.97 kB / 0.9926 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.3021, allocations: 36.11 kB / 0.9926 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.3035, allocations: 0.7826 MB / 0.9934 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3035, allocations: 3.938 kB / 0.9934 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.3036, allocations: 15.98 kB / 0.9934 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.3037, allocations: 52.59 kB / 0.9934 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.3055, allocations: 0.8726 MB / 0.9943 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.309, allocations: 2.866 MB / 0.9971 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3106, allocations: 0.5214 MB / 0.9976 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.3113, allocations: 264.6 kB / 0.9979 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.3114, allocations: 81.11 kB / 0.9979 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3114, allocations: 42.5 kB / 0.998 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.3114, allocations: 3.938 kB / 0.998 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01077/0.3222, allocations: 3.209 MB / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3223, allocations: 85.11 kB / 1.001 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.3228, allocations: 421.5 kB / 1.002 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3228, allocations: 25.7 kB / 1.002 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.323, allocations: 235.9 kB / 1.002 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.085e-05/0.3231, allocations: 86.75 kB / 1.002 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3231, allocations: 4 kB / 1.002 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.3232, allocations: 358.7 kB / 1.002 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/0.324, allocations: 363.5 kB / 1.003 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.3249, allocations: 449.3 kB / 1.003 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.3264, allocations: 0.7679 MB / 1.004 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3265, allocations: 0 / 1.004 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004666/0.3311, allocations: 1.55 MB / 1.005 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.3312, allocations: 148.1 kB / 1.005 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3313, allocations: 0 / 1.005 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/0.3349, allocations: 0.8558 MB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.3356, allocations: 135.8 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007482/0.3431, allocations: 4.659 MB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/0.3441, allocations: 123.9 kB / 1.011 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.3442, allocations: 12 kB / 1.011 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3442, allocations: 4 kB / 1.011 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004341/0.3485, allocations: 1.257 MB / 1.012 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3486, allocations: 0 / 1.012 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/0.3512, allocations: 0.5588 MB / 1.013 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.352, allocations: 147.8 kB / 1.013 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.3559, allocations: 2.51 MB / 1.015 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.3568, allocations: 107.8 kB / 1.016 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.3569, allocations: 11.98 kB / 1.016 GB, free: 5.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005409/0.3574, allocations: 330.4 kB / 1.016 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.3576, allocations: 31.62 kB / 1.016 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/0.3625, allocations: 1.419 MB / 1.017 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.3626, allocations: 4 kB / 1.017 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3626, allocations: 0 / 1.017 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3626, allocations: 7.922 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.3689, allocations: 2.096 MB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.369, allocations: 0 / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.3694, allocations: 91.98 kB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003658/0.3731, allocations: 0.7934 MB / 1.02 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3732, allocations: 4 kB / 1.02 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/0.3796, allocations: 4.485 MB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.3796, allocations: 3.938 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.3842, allocations: 1.44 MB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.3846, allocations: 168.7 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.3847, allocations: 7.938 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.3853, allocations: 95.84 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3855, allocations: 31.91 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3855, allocations: 8 kB / 1.026 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004248/0.386, allocations: 311.1 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.386, allocations: 0 / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009281/0.3869, allocations: 204 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.3872, allocations: 115.2 kB / 1.027 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003929/0.3911, allocations: 1.624 MB / 1.029 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3912, allocations: 0 / 1.029 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3925, allocations: 0.6835 MB / 1.029 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.3933, allocations: 121.4 kB / 1.029 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3957, allocations: 1.202 MB / 1.03 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.3964, allocations: 0.9171 MB / 1.031 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006204/0.397, allocations: 155.2 kB / 1.032 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3972, allocations: 31.42 kB / 1.032 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/0.3972, allocations: 0 / 1.032 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.01896/0.4161, allocations: 12 MB / 1.043 GB, free: 9.129 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)