Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01386/0.01386, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002498/0.002498, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.865/1.865, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.898/1.898, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001416/0.001416, allocations: 71.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2846, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008465/0.2931, allocations: 6.066 MB / 0.834 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005678/0.2989, allocations: 3.2 MB / 0.8371 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.2995, allocations: 27.81 kB / 0.8371 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.3022, allocations: 0.922 MB / 0.838 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.304, allocations: 493.5 kB / 0.8385 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.3057, allocations: 489.3 kB / 0.839 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.3076, allocations: 1.108 MB / 0.84 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.3088, allocations: 0.6388 MB / 0.8407 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.3099, allocations: 434.4 kB / 0.8411 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.311, allocations: 478.2 kB / 0.8415 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.3113, allocations: 63.98 kB / 0.8416 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.3126, allocations: 487 kB / 0.8421 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004652/0.3131, allocations: 287.2 kB / 0.8423 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.3139, allocations: 401.9 kB / 0.8427 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.3161, allocations: 1.164 MB / 0.8439 GB, free: 15.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3162, allocations: 7.938 kB / 0.8439 GB, free: 15.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.248e-06/0.3162, allocations: 4 kB / 0.8439 GB, free: 15.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.3162, allocations: 3.938 kB / 0.8439 GB, free: 15.95 MB / 0.67 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.00172/0.3179, allocations: 1.05 MB / 0.8449 GB, free: 14.85 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.318, allocations: 8.031 kB / 0.8449 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3194, allocations: 219.7 kB / 0.8451 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/0.3203, allocations: 0.5728 MB / 0.8457 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.3203, allocations: 53.61 kB / 0.8457 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3205, allocations: 72.25 kB / 0.8458 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.3219, allocations: 1.03 MB / 0.8468 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.3219, allocations: 8 kB / 0.8468 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.322, allocations: 27.98 kB / 0.8468 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-05/0.3221, allocations: 73.2 kB / 0.8469 GB, free: 12.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.3231, allocations: 0.6956 MB / 0.8476 GB, free: 11.95 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/0.3279, allocations: 5.729 MB / 0.8532 GB, free: 5.789 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.3288, allocations: 0.6019 MB / 0.8538 GB, free: 5.145 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.3295, allocations: 432.6 kB / 0.8542 GB, free: 4.719 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.3296, allocations: 4 kB / 0.8542 GB, free: 4.715 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3296, allocations: 34.56 kB / 0.8542 GB, free: 4.672 MB / 0.67 GB Notification: Performance of pre-optimization done (n=41): time 2.405e-06/0.3296, allocations: 0 / 0.8542 GB, free: 4.672 MB / 0.67 GB Notification: Performance of matching and sorting (n=42): time 0.004241/0.3339, allocations: 2.018 MB / 0.8562 GB, free: 2.559 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3339, allocations: 59.41 kB / 0.8562 GB, free: 2.488 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.3345, allocations: 462.7 kB / 0.8567 GB, free: 2.031 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.3345, allocations: 33.7 kB / 0.8567 GB, free: 1.992 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.3348, allocations: 387 kB / 0.8571 GB, free: 1.605 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3349, allocations: 145.9 kB / 0.8572 GB, free: 1.461 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3351, allocations: 114.2 kB / 0.8573 GB, free: 1.344 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3353, allocations: 362.8 kB / 0.8577 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.3357, allocations: 237.2 kB / 0.8579 GB, free: 0.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3362, allocations: 461 kB / 0.8583 GB, free: 208 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.3372, allocations: 0.7441 MB / 0.8591 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.3372, allocations: 4 kB / 0.8591 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001881/0.3391, allocations: 1.034 MB / 0.8601 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3391, allocations: 8 kB / 0.8601 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3391, allocations: 4 kB / 0.8601 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.3402, allocations: 327.8 kB / 0.8604 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.3405, allocations: 103.8 kB / 0.8605 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007108/0.3476, allocations: 7.47 MB / 0.8678 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.3481, allocations: 28.2 kB / 0.8678 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.3482, allocations: 32 kB / 0.8679 GB, free: 5.77 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004012/0.3486, allocations: 237.6 kB / 0.8681 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3488, allocations: 63.28 kB / 0.8681 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.3505, allocations: 0.8959 MB / 0.869 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3505, allocations: 8 kB / 0.869 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.3505, allocations: 4 kB / 0.869 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3505, allocations: 3.984 kB / 0.869 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.3532, allocations: 1.676 MB / 0.8707 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3532, allocations: 4 kB / 0.8707 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3534, allocations: 44.16 kB / 0.8707 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000906/0.3543, allocations: 311.2 kB / 0.871 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.3544, allocations: 12 kB / 0.871 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007334/0.3617, allocations: 7.459 MB / 0.8783 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.3618, allocations: 7.938 kB / 0.8783 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3635, allocations: 0.9837 MB / 0.8793 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.3638, allocations: 180.3 kB / 0.8794 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/0.3639, allocations: 8 kB / 0.8795 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.3642, allocations: 19.97 kB / 0.8795 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3643, allocations: 43.89 kB / 0.8795 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.3644, allocations: 20 kB / 0.8795 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003622/0.3647, allocations: 310.8 kB / 0.8798 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3647, allocations: 0 / 0.8798 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008683/0.3656, allocations: 192 kB / 0.88 GB, free: 8.559 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.3658, allocations: 107.2 kB / 0.8801 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.3677, allocations: 1.199 MB / 0.8813 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3678, allocations: 0 / 0.8813 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.369, allocations: 0.8581 MB / 0.8821 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.3699, allocations: 211.9 kB / 0.8823 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3722, allocations: 1.211 MB / 0.8835 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.3729, allocations: 0.9958 MB / 0.8845 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.3733, allocations: 101.2 kB / 0.8846 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.3734, allocations: 39.44 kB / 0.8846 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of SimCode: time 5.21e-07/0.3734, allocations: 0 / 0.8846 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of Templates: time 0.01956/0.3929, allocations: 9.959 MB / 0.8943 GB, free: 9.805 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)