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 2.903/2.903, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001516/0.001516, allocations: 184.5 kB / 371 MB, free: 10.83 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.363/2.363, allocations: 205.4 MB / 0.6297 GB, free: 10.49 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.0009729/0.0009729, allocations: 95.02 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007815/0.000782, allocations: 11.44 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2641, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006017/0.2702, allocations: 4.26 MB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004956/0.2752, allocations: 2.341 MB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.276, allocations: 23.81 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.2764, allocations: 91.2 kB / 0.9849 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.2778, allocations: 346.1 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2791, allocations: 281.6 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.2806, allocations: 0.9641 MB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.2818, allocations: 424.2 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.2825, allocations: 286.7 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.2831, allocations: 322.6 kB / 0.9874 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.2832, allocations: 20 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007448/0.2839, allocations: 199.7 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.2841, allocations: 155.5 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.2843, allocations: 137.3 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009033/0.2852, allocations: 0.6508 MB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.2853, allocations: 0 / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2853, allocations: 0 / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2853, allocations: 0 / 0.9886 GB, free: 17.8 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.001674/0.287, allocations: 0.8333 MB / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2871, allocations: 15.97 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.289, allocations: 202.9 kB / 0.9896 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.29, allocations: 469.4 kB / 0.99 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.2901, allocations: 36.98 kB / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2902, allocations: 51.92 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2917, allocations: 0.8406 MB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.2917, allocations: 15.83 kB / 0.991 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.2918, allocations: 20 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.2919, allocations: 60.95 kB / 0.991 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2931, allocations: 0.5772 MB / 0.9916 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/0.2985, allocations: 5.639 MB / 0.9971 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.2995, allocations: 453 kB / 0.9975 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.3, allocations: 225.3 kB / 0.9978 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.3001, allocations: 7.938 kB / 0.9978 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3001, allocations: 46.5 kB / 0.9978 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.657e-06/0.3001, allocations: 0 / 0.9978 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00383/0.304, allocations: 1.504 MB / 0.9993 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3041, allocations: 55.41 kB / 0.9993 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.3047, allocations: 494.9 kB / 0.9998 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.3048, allocations: 29.7 kB / 0.9998 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.305, allocations: 354.8 kB / 1 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3052, allocations: 122.3 kB / 1 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3052, allocations: 12 kB / 1 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3053, allocations: 366.8 kB / 1.001 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.3058, allocations: 201.1 kB / 1.001 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.3063, allocations: 443 kB / 1.001 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.3069, allocations: 251.9 kB / 1.002 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3069, allocations: 0 / 1.002 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001928/0.3089, allocations: 0.8089 MB / 1.002 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.3089, allocations: 8 kB / 1.002 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.309, allocations: 8 kB / 1.002 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/0.3097, allocations: 156.8 kB / 1.002 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.3106, allocations: 123.8 kB / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.3147, allocations: 4.032 MB / 1.007 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/0.3155, allocations: 39.97 kB / 1.007 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.3155, allocations: 28 kB / 1.007 GB, free: 14.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.0004208/0.316, allocations: 213.6 kB / 1.007 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3161, allocations: 63.25 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.3179, allocations: 0.6011 MB / 1.007 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.318, allocations: 7.953 kB / 1.007 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.318, allocations: 3.984 kB / 1.007 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.318, allocations: 0 / 1.007 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.3212, allocations: 1.253 MB / 1.009 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.3212, allocations: 3.953 kB / 1.009 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.3218, allocations: 56.17 kB / 1.009 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007334/0.3225, allocations: 148 kB / 1.009 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.3226, allocations: 8 kB / 1.009 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/0.3272, allocations: 4.025 MB / 1.013 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.3273, allocations: 7.938 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3291, allocations: 0.7047 MB / 1.013 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.3295, allocations: 160.4 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3296, allocations: 12 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.3301, allocations: 19.97 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3302, allocations: 39.89 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3303, allocations: 8 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005555/0.3308, allocations: 326.9 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3308, allocations: 0 / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009236/0.3318, allocations: 136 kB / 1.014 GB, free: 5.633 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.0002112/0.332, allocations: 119.1 kB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002291/0.3343, allocations: 1.036 MB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3343, allocations: 0 / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.3358, allocations: 0.7345 MB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.3375, allocations: 190.5 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3402, allocations: 1.217 MB / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.3409, allocations: 0.898 MB / 1.018 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006491/0.3416, allocations: 117.3 kB / 1.018 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3418, allocations: 43.44 kB / 1.018 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/0.3418, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of Templates: time 0.02757/0.3694, allocations: 7.031 MB / 1.025 GB, free: 10.09 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)