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.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.826/1.826, allocations: 288.4 MB / 303.7 MB, free: 8.148 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.00131/0.00131, allocations: 186.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.098/2.098, allocations: 205.4 MB / 0.631 GB, free: 9.816 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.0009315/0.0009317, allocations: 90.42 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004199, allocations: 11.75 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2938, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005214/0.2991, allocations: 5.374 MB / 0.9854 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.3031, allocations: 3.011 MB / 0.9883 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.3035, allocations: 23.81 kB / 0.9883 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.3039, allocations: 126.9 kB / 0.9885 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.3048, allocations: 418 kB / 0.9889 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.3058, allocations: 405.1 kB / 0.9893 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008234/0.3066, allocations: 1.217 MB / 0.9904 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.308, allocations: 0.9728 MB / 0.9914 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.3084, allocations: 366.4 kB / 0.9917 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.3088, allocations: 434.4 kB / 0.9922 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.3089, allocations: 32 kB / 0.9922 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.3097, allocations: 0.5457 MB / 0.9927 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.3099, allocations: 251.3 kB / 0.993 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.3101, allocations: 371.9 kB / 0.9933 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.3108, allocations: 0.8964 MB / 0.9942 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3108, allocations: 0 / 0.9942 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3108, allocations: 0 / 0.9942 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.3108, allocations: 0 / 0.9942 GB, free: 12.87 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00114/0.312, allocations: 0.9038 MB / 0.9951 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.312, allocations: 11.97 kB / 0.9951 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.3133, allocations: 231.7 kB / 0.9953 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.3139, allocations: 0.5259 MB / 0.9958 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.3139, allocations: 57.66 kB / 0.9959 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.314, allocations: 56.38 kB / 0.9959 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3151, allocations: 1.03 MB / 0.9969 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.3152, allocations: 11.91 kB / 0.9969 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.3152, allocations: 35.97 kB / 0.997 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.3153, allocations: 61.28 kB / 0.997 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.3161, allocations: 0.6917 MB / 0.9977 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.3197, allocations: 5.756 MB / 1.003 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.3203, allocations: 0.5994 MB / 1.004 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.321, allocations: 424.6 kB / 1.004 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.321, allocations: 4.688 kB / 1.004 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.321, allocations: 30.56 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.434e-06/0.321, allocations: 4 kB / 1.004 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003799/0.3248, allocations: 2.06 MB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3249, allocations: 55.41 kB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.3254, allocations: 450.7 kB / 1.007 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3254, allocations: 33.7 kB / 1.007 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.3257, allocations: 383.1 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.3259, allocations: 153.8 kB / 1.007 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.3259, allocations: 15.94 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3261, allocations: 366.8 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.3264, allocations: 245.2 kB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.327, allocations: 453 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.3279, allocations: 0.7556 MB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3279, allocations: 0 / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001819/0.3297, allocations: 1.062 MB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3298, allocations: 13.81 kB / 1.01 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3298, allocations: 8 kB / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.3308, allocations: 327.5 kB / 1.011 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3311, allocations: 103.8 kB / 1.011 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.3381, allocations: 6.943 MB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.3386, allocations: 32.02 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3386, allocations: 24 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004109/0.3391, allocations: 251.1 kB / 1.018 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.3392, allocations: 55.34 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.3409, allocations: 0.9116 MB / 1.019 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.3409, allocations: 7.938 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3409, allocations: 4.188 kB / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3409, allocations: 11.94 kB / 1.019 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.3437, allocations: 1.696 MB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3437, allocations: 4 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3439, allocations: 43.91 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009432/0.3448, allocations: 323.2 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3449, allocations: 8 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.3518, allocations: 6.943 MB / 1.027 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3519, allocations: 3.938 kB / 1.027 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.3536, allocations: 0.9949 MB / 1.028 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.3539, allocations: 180.3 kB / 1.029 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.354, allocations: 11.98 kB / 1.029 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.3543, allocations: 19.98 kB / 1.029 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3544, allocations: 40.22 kB / 1.029 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.3544, allocations: 19.94 kB / 1.029 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003807/0.3548, allocations: 298.9 kB / 1.029 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3548, allocations: 3.938 kB / 1.029 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008515/0.3557, allocations: 196 kB / 1.029 GB, free: 6.719 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.3559, allocations: 115.2 kB / 1.029 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.3579, allocations: 1.199 MB / 1.03 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3579, allocations: 0 / 1.03 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.3592, allocations: 0.8698 MB / 1.031 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3604, allocations: 186.8 kB / 1.031 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3629, allocations: 1.479 MB / 1.033 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/0.3638, allocations: 0.9843 MB / 1.034 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.3642, allocations: 97.17 kB / 1.034 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3643, allocations: 35.44 kB / 1.034 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/0.3643, allocations: 4 kB / 1.034 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of Templates: time 0.01795/0.3822, allocations: 9.286 MB / 1.043 GB, free: 8.375 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)