Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.221/3.221, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001658/0.001658, allocations: 189.1 kB / 370.8 MB, free: 10.84 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.196/2.196, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.00107/0.00107, allocations: 104.4 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004921, allocations: 13.23 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005932/0.2362, allocations: 4.112 MB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004791/0.241, allocations: 2.322 MB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.2417, allocations: 23.75 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.242, allocations: 67.45 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2434, allocations: 366.9 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2446, allocations: 285.5 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.2459, allocations: 0.5835 MB / 0.9858 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.247, allocations: 424.2 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.2476, allocations: 267 kB / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.2482, allocations: 282.8 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.2483, allocations: 20 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.2488, allocations: 147.7 kB / 0.9869 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.249, allocations: 139.5 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2492, allocations: 141.3 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008357/0.25, allocations: 0.5885 MB / 0.9877 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.25, allocations: 4 kB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.25, allocations: 4 kB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2501, allocations: 0 / 0.9877 GB, free: 18.56 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001651/0.2517, allocations: 0.8178 MB / 0.9885 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2518, allocations: 8.031 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.2533, allocations: 179 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2544, allocations: 481.3 kB / 0.9891 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.2544, allocations: 32.98 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.2546, allocations: 44 kB / 0.9892 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.256, allocations: 0.8404 MB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.256, allocations: 7.938 kB / 0.99 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.2561, allocations: 27.97 kB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.2563, allocations: 64.95 kB / 0.9901 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2575, allocations: 0.5656 MB / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005431/0.2629, allocations: 5.647 MB / 0.9962 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/0.2639, allocations: 446.3 kB / 0.9966 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.264, allocations: 4 kB / 0.9966 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.264, allocations: 43.03 kB / 0.9967 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.146e-06/0.2641, allocations: 0 / 0.9967 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.003769/0.2678, allocations: 1.504 MB / 0.9981 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2679, allocations: 55.41 kB / 0.9982 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.2686, allocations: 494.9 kB / 0.9987 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.2686, allocations: 33.7 kB / 0.9987 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.2689, allocations: 354.8 kB / 0.999 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.269, allocations: 122.3 kB / 0.9991 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.269, allocations: 16 kB / 0.9992 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2691, allocations: 358.8 kB / 0.9995 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.2696, allocations: 193.2 kB / 0.9997 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.2702, allocations: 450.9 kB / 1 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.2708, allocations: 259.8 kB / 1 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.2708, allocations: 0 / 1 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001928/0.2727, allocations: 0.8094 MB / 1.001 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.2728, allocations: 9.875 kB / 1.001 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2728, allocations: 8 kB / 1.001 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007795/0.2736, allocations: 156.3 kB / 1.001 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.2744, allocations: 119.8 kB / 1.001 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.2781, allocations: 4.064 MB / 1.005 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.2789, allocations: 36.22 kB / 1.005 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.279, allocations: 32 kB / 1.005 GB, free: 15.01 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.2794, allocations: 205.6 kB / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2796, allocations: 67.23 kB / 1.006 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.2813, allocations: 0.6089 MB / 1.006 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2814, allocations: 7.938 kB / 1.006 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.2814, allocations: 7.953 kB / 1.006 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2814, allocations: 0 / 1.006 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.2845, allocations: 1.246 MB / 1.008 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.2845, allocations: 4 kB / 1.008 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.285, allocations: 55.91 kB / 1.008 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.2858, allocations: 144.3 kB / 1.008 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.2859, allocations: 8 kB / 1.008 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.2903, allocations: 4.052 MB / 1.012 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2903, allocations: 0 / 1.012 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.2921, allocations: 0.7868 MB / 1.012 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.2925, allocations: 164.4 kB / 1.013 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2926, allocations: 8 kB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.2931, allocations: 19.97 kB / 1.013 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.2933, allocations: 35.95 kB / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.2933, allocations: 15.95 kB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005518/0.2939, allocations: 330.8 kB / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.268e-06/0.2939, allocations: 0 / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000976/0.2949, allocations: 147.9 kB / 1.013 GB, free: 6.477 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001898/0.2951, allocations: 105.4 kB / 1.013 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.2973, allocations: 1.036 MB / 1.014 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2974, allocations: 0 / 1.014 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.2988, allocations: 0.7349 MB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.3003, allocations: 183.4 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.303, allocations: 1.213 MB / 1.016 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.3036, allocations: 0.9142 MB / 1.017 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000653/0.3043, allocations: 125.2 kB / 1.017 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3045, allocations: 35.44 kB / 1.017 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of SimCode: time 1.563e-06/0.3045, allocations: 0 / 1.017 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of Templates: time 0.02215/0.3267, allocations: 7.02 MB / 1.024 GB, free: 10.95 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)