Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.573/1.573, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.914/1.914, allocations: 292.3 MB / 0.5488 GB, free: 12.88 MB / 462.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.001397/0.001397, allocations: 67.72 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2606, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00635/0.267, allocations: 4.854 MB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.2711, allocations: 2.491 MB / 0.7905 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.2716, allocations: 19.81 kB / 0.7906 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2727, allocations: 405.9 kB / 0.791 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2737, allocations: 445.7 kB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.2746, allocations: 370.5 kB / 0.7917 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.2756, allocations: 0.9212 MB / 0.7926 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.2762, allocations: 358.5 kB / 0.793 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.2767, allocations: 334.7 kB / 0.7933 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.2772, allocations: 346.5 kB / 0.7936 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.2772, allocations: 36 kB / 0.7937 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.2779, allocations: 407 kB / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2781, allocations: 179.5 kB / 0.7942 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.2784, allocations: 318.3 kB / 0.7945 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.2793, allocations: 0.8797 MB / 0.7954 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2793, allocations: 0 / 0.7954 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2793, allocations: 0 / 0.7954 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.2793, allocations: 4 kB / 0.7954 GB, free: 1.148 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001377/0.2807, allocations: 0.9269 MB / 0.7963 GB, free: 172 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2807, allocations: 12.03 kB / 0.7963 GB, free: 160 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.282, allocations: 199.9 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.2826, allocations: 0.4904 MB / 0.797 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2827, allocations: 33.36 kB / 0.797 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.2827, allocations: 44.36 kB / 0.797 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000947/0.2837, allocations: 0.8524 MB / 0.7979 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2837, allocations: 7.938 kB / 0.7979 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.2838, allocations: 23.98 kB / 0.7979 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.677e-05/0.2839, allocations: 64.95 kB / 0.798 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/0.2846, allocations: 0.5695 MB / 0.7985 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.2888, allocations: 5.658 MB / 0.8041 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.2895, allocations: 457.2 kB / 0.8045 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.2898, allocations: 228.7 kB / 0.8047 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2898, allocations: 4 kB / 0.8047 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2899, allocations: 38.5 kB / 0.8047 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 3.026e-06/0.2899, allocations: 0 / 0.8047 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002594/0.2925, allocations: 1.502 MB / 0.8062 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2925, allocations: 59.34 kB / 0.8063 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.293, allocations: 0.4912 MB / 0.8067 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.293, allocations: 29.7 kB / 0.8068 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.2933, allocations: 354.8 kB / 0.8071 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.2934, allocations: 122.3 kB / 0.8072 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2935, allocations: 110.2 kB / 0.8073 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2936, allocations: 370.8 kB / 0.8077 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.2939, allocations: 193.2 kB / 0.8079 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.2944, allocations: 443 kB / 0.8083 GB, free: 3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/0.2951, allocations: 0.6925 MB / 0.809 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2952, allocations: 0 / 0.809 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001242/0.2964, allocations: 0.8134 MB / 0.8098 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2964, allocations: 11.94 kB / 0.8098 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.2965, allocations: 11.98 kB / 0.8098 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.297, allocations: 160.5 kB / 0.8099 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.2974, allocations: 119.8 kB / 0.8101 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/0.3009, allocations: 4.34 MB / 0.8143 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.3014, allocations: 31.97 kB / 0.8143 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.3014, allocations: 32.16 kB / 0.8144 GB, free: 12.22 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.3018, allocations: 218.1 kB / 0.8146 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3019, allocations: 63.25 kB / 0.8146 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3029, allocations: 0.6006 MB / 0.8152 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.303, allocations: 4 kB / 0.8152 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.303, allocations: 0 / 0.8152 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.303, allocations: 0 / 0.8152 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.3047, allocations: 1.259 MB / 0.8164 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3047, allocations: 4 kB / 0.8164 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.305, allocations: 59.89 kB / 0.8165 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003913/0.3054, allocations: 144.3 kB / 0.8166 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.3054, allocations: 7.938 kB / 0.8167 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.3085, allocations: 4.336 MB / 0.8209 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3085, allocations: 160 / 0.8209 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009972/0.3095, allocations: 0.7121 MB / 0.8216 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.3098, allocations: 164.3 kB / 0.8217 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.3098, allocations: 8 kB / 0.8217 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.3101, allocations: 27.97 kB / 0.8218 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.3102, allocations: 35.83 kB / 0.8218 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.3102, allocations: 12 kB / 0.8218 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004147/0.3106, allocations: 330.9 kB / 0.8221 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3106, allocations: 0 / 0.8221 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007234/0.3114, allocations: 140 kB / 0.8223 GB, free: 3.488 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002321/0.3116, allocations: 119.1 kB / 0.8224 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.3132, allocations: 1.08 MB / 0.8234 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3132, allocations: 3.938 kB / 0.8234 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.314, allocations: 0.7394 MB / 0.8242 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.315, allocations: 200.1 kB / 0.8244 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.3165, allocations: 1.039 MB / 0.8254 GB, free: 104 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.317, allocations: 0.898 MB / 0.8262 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.3173, allocations: 125.3 kB / 0.8264 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.3174, allocations: 35.44 kB / 0.8264 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.3175, allocations: 4 kB / 0.8264 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.01381/0.3313, allocations: 7.575 MB / 0.8338 GB, free: 7.523 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)