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.791/1.791, allocations: 288.4 MB / 303.4 MB, free: 8.094 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.00112/0.00112, allocations: 164.6 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009719/0.0009722, allocations: 93.09 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 11.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005213/0.2688, allocations: 5.37 MB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003982/0.2728, allocations: 3.011 MB / 0.9878 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.2732, allocations: 27.81 kB / 0.9878 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2736, allocations: 123 kB / 0.9879 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.2744, allocations: 370 kB / 0.9883 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.2753, allocations: 363.1 kB / 0.9886 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000887/0.2762, allocations: 1.209 MB / 0.9898 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.2776, allocations: 0.9022 MB / 0.9907 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.2781, allocations: 358.5 kB / 0.991 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.2785, allocations: 434.4 kB / 0.9914 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.2786, allocations: 36 kB / 0.9915 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.2791, allocations: 255.6 kB / 0.9917 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.2793, allocations: 247.3 kB / 0.992 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2794, allocations: 165.3 kB / 0.9921 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.2801, allocations: 0.869 MB / 0.993 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2801, allocations: 0 / 0.993 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2801, allocations: 0 / 0.993 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.2801, allocations: 0 / 0.993 GB, free: 13.89 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.001304/0.2814, allocations: 0.927 MB / 0.9939 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2815, allocations: 12.03 kB / 0.9939 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.2829, allocations: 218.7 kB / 0.9941 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.2835, allocations: 0.521 MB / 0.9946 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.2835, allocations: 49.31 kB / 0.9946 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.2836, allocations: 59.98 kB / 0.9947 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.2848, allocations: 1.026 MB / 0.9957 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.2849, allocations: 11.84 kB / 0.9957 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.2849, allocations: 31.98 kB / 0.9957 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-05/0.285, allocations: 65.27 kB / 0.9958 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.2859, allocations: 0.6879 MB / 0.9965 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.2894, allocations: 5.764 MB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/0.2901, allocations: 0.5957 MB / 1.003 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.2907, allocations: 417.9 kB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.2908, allocations: 4.688 kB / 1.003 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2908, allocations: 38.56 kB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.376e-06/0.2908, allocations: 4 kB / 1.003 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003762/0.2946, allocations: 2.056 MB / 1.005 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2946, allocations: 55.41 kB / 1.005 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.295, allocations: 454.7 kB / 1.006 GB, free: 128 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.295, allocations: 29.7 kB / 1.006 GB, free: 92 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.2953, allocations: 387 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.2955, allocations: 145.9 kB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.2955, allocations: 12 kB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2957, allocations: 370.7 kB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.296, allocations: 245.2 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.2965, allocations: 457 kB / 1.007 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.297, allocations: 307.8 kB / 1.007 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.297, allocations: 4 kB / 1.007 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001847/0.2988, allocations: 1.054 MB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.2989, allocations: 11.98 kB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2989, allocations: 8 kB / 1.009 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.2999, allocations: 339.6 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.3003, allocations: 95.83 kB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/0.3073, allocations: 6.943 MB / 1.016 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.3078, allocations: 24.03 kB / 1.016 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.3079, allocations: 31.98 kB / 1.016 GB, free: 5.031 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.0003822/0.3083, allocations: 245.5 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.3084, allocations: 59.34 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.3101, allocations: 0.9081 MB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3101, allocations: 12.17 kB / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3101, allocations: 11.94 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3101, allocations: 0 / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.3128, allocations: 1.704 MB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3129, allocations: 4 kB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.313, allocations: 39.91 kB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009451/0.314, allocations: 323.3 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.314, allocations: 8 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/0.3214, allocations: 6.931 MB / 1.026 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3214, allocations: 4 kB / 1.026 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.3235, allocations: 1.007 MB / 1.027 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.3238, allocations: 176.3 kB / 1.027 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.3239, allocations: 11.95 kB / 1.027 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.3242, allocations: 31.97 kB / 1.027 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3243, allocations: 35.89 kB / 1.027 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3244, allocations: 12 kB / 1.027 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004184/0.3248, allocations: 306.9 kB / 1.027 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3248, allocations: 0 / 1.027 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009382/0.3257, allocations: 196 kB / 1.028 GB, free: 8.305 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.0002208/0.326, allocations: 111.1 kB / 1.028 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.3279, allocations: 1.199 MB / 1.029 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.328, allocations: 4.125 kB / 1.029 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.3292, allocations: 0.8579 MB / 1.03 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.3301, allocations: 187 kB / 1.03 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3323, allocations: 1.48 MB / 1.031 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.333, allocations: 0.9921 MB / 1.032 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.3333, allocations: 97.17 kB / 1.032 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.3334, allocations: 39.44 kB / 1.032 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/0.3334, allocations: 0 / 1.032 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of Templates: time 0.01552/0.3489, allocations: 9.195 MB / 1.041 GB, free: 10.06 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)