Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.732/1.732, allocations: 287.5 MB / 302.6 MB, free: 8.277 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.001104/0.001104, allocations: 185.8 kB / 371.2 MB, free: 10.8 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.791/1.791, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.0008727/0.0008727, allocations: 108.8 kB / 0.7432 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006313, allocations: 16.89 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2533, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003668/0.257, allocations: 3.266 MB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2597, allocations: 1.709 MB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.2602, allocations: 19.88 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.2605, allocations: 55.5 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008921/0.2614, allocations: 238.7 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.2621, allocations: 182.1 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.2629, allocations: 0.6516 MB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.2635, allocations: 362.9 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.264, allocations: 207.1 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.2644, allocations: 219.1 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.2645, allocations: 12 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.2649, allocations: 131.8 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.265, allocations: 103.7 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.2652, allocations: 97.45 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.2657, allocations: 439.2 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2657, allocations: 0 / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2657, allocations: 0 / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.2657, allocations: 0 / 0.9862 GB, free: 20.45 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001114/0.2669, allocations: 0.6778 MB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2669, allocations: 8.031 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.2678, allocations: 128.2 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.2683, allocations: 375.7 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.2683, allocations: 21.03 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.2684, allocations: 32.28 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.2691, allocations: 0.555 MB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2691, allocations: 3.938 kB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.2692, allocations: 16 kB / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.2692, allocations: 40.53 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.2699, allocations: 421.7 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.2723, allocations: 3.33 MB / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.273, allocations: 346.4 kB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.2732, allocations: 178.1 kB / 0.9921 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.2732, allocations: 12 kB / 0.9921 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.2733, allocations: 30.56 kB / 0.9921 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.2733, allocations: 0 / 0.9921 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001745/0.275, allocations: 1.083 MB / 0.9932 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.2751, allocations: 59.64 kB / 0.9933 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.2753, allocations: 333.5 kB / 0.9936 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2753, allocations: 33.7 kB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2755, allocations: 243.5 kB / 0.9938 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.2755, allocations: 98.64 kB / 0.9939 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.2755, allocations: 8 kB / 0.9939 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.2756, allocations: 354.7 kB / 0.9943 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.2759, allocations: 148.8 kB / 0.9944 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.2762, allocations: 298.5 kB / 0.9947 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.2767, allocations: 490.7 kB / 0.9952 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2767, allocations: 0 / 0.9952 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007709/0.2775, allocations: 0.5734 MB / 0.9957 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2775, allocations: 6.344 kB / 0.9957 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2775, allocations: 8 kB / 0.9958 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.2778, allocations: 83.02 kB / 0.9958 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.2781, allocations: 95.81 kB / 0.9959 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.2781, allocations: 8 kB / 0.9959 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.2784, allocations: 39.84 kB / 0.996 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2784, allocations: 20 kB / 0.996 GB, free: 9.684 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2786, allocations: 173.7 kB / 0.9962 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.2786, allocations: 39.53 kB / 0.9962 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.2794, allocations: 479.8 kB / 0.9966 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2794, allocations: 4 kB / 0.9967 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2794, allocations: 4 kB / 0.9967 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2794, allocations: 3.984 kB / 0.9967 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2805, allocations: 0.9676 MB / 0.9976 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2805, allocations: 0 / 0.9976 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.2808, allocations: 51.95 kB / 0.9977 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.281, allocations: 86.44 kB / 0.9977 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.281, allocations: 8.094 kB / 0.9977 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.281, allocations: 4 kB / 0.9977 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.281, allocations: 4 kB / 0.9978 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.2817, allocations: 0.5511 MB / 0.9983 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2818, allocations: 140.6 kB / 0.9984 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.2818, allocations: 8 kB / 0.9984 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2821, allocations: 23.97 kB / 0.9985 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.2821, allocations: 27.91 kB / 0.9985 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2821, allocations: 11.98 kB / 0.9985 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001606/0.2823, allocations: 231.2 kB / 0.9987 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2823, allocations: 0 / 0.9987 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003498/0.2827, allocations: 84 kB / 0.9988 GB, free: 6.645 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.2828, allocations: 111.2 kB / 0.9989 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006861/0.2835, allocations: 0.6353 MB / 0.9995 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2835, allocations: 8.062 kB / 0.9995 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.2839, allocations: 437.7 kB / 0.9999 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.2845, allocations: 118.9 kB / 1 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.2854, allocations: 0.8807 MB / 1.001 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2857, allocations: 0.8233 MB / 1.002 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002177/0.2859, allocations: 75.36 kB / 1.002 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.286, allocations: 27.44 kB / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.286, allocations: 0 / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of Templates: time 0.007223/0.2932, allocations: 4.317 MB / 1.006 GB, free: 15.08 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)