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 3.034/3.034, 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.001375/0.001375, allocations: 176.5 kB / 371 MB, free: 10.87 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.423/2.423, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009106/0.0009105, allocations: 93 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006702/0.0006706, allocations: 11.5 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2393, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004794/0.2441, allocations: 3.258 MB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2479, allocations: 1.724 MB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.2484, allocations: 15.94 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.2487, allocations: 59.42 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009482/0.2497, allocations: 230.8 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.2505, allocations: 184.5 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2515, allocations: 0.6322 MB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008467/0.2524, allocations: 330.5 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2529, allocations: 203.1 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.2533, allocations: 215.1 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2533, allocations: 12 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.2538, allocations: 131.8 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.254, allocations: 103.6 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2542, allocations: 97.52 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.2548, allocations: 435.1 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.2549, allocations: 4 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2549, allocations: 3.984 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2549, allocations: 4 kB / 0.9858 GB, free: 20.68 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.001379/0.2563, allocations: 0.6621 MB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2563, allocations: 15.97 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.2577, allocations: 143.2 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.2584, allocations: 362.6 kB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2584, allocations: 20.66 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.2585, allocations: 35.98 kB / 0.987 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2597, allocations: 0.5592 MB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2597, allocations: 0 / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.2598, allocations: 19.98 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.081e-05/0.2599, allocations: 40.53 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.261, allocations: 421.6 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.2646, allocations: 3.33 MB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2657, allocations: 334.7 kB / 0.9916 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.2662, allocations: 186 kB / 0.9917 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.2663, allocations: 4 kB / 0.9917 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2663, allocations: 38.53 kB / 0.9918 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.798e-06/0.2663, allocations: 4 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.00307/0.2694, allocations: 1.079 MB / 0.9928 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.2695, allocations: 59.64 kB / 0.9929 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.2699, allocations: 333.5 kB / 0.9932 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.27, allocations: 33.7 kB / 0.9932 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2701, allocations: 239.5 kB / 0.9935 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.2702, allocations: 98.62 kB / 0.9936 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.2703, allocations: 12 kB / 0.9936 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.2704, allocations: 350.7 kB / 0.9939 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.2708, allocations: 152.8 kB / 0.9941 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.2714, allocations: 295.1 kB / 0.9943 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.2719, allocations: 192.8 kB / 0.9945 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2719, allocations: 4 kB / 0.9945 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001573/0.2735, allocations: 0.5696 MB / 0.9951 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.2736, allocations: 9.969 kB / 0.9951 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2736, allocations: 4 kB / 0.9951 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.274, allocations: 90.5 kB / 0.9952 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.2747, allocations: 95.81 kB / 0.9953 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.2747, allocations: 7.984 kB / 0.9953 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.2752, allocations: 35.97 kB / 0.9953 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.2753, allocations: 16 kB / 0.9953 GB, free: 10.28 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.0002786/0.2756, allocations: 185.6 kB / 0.9955 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2757, allocations: 39.53 kB / 0.9955 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2771, allocations: 472 kB / 0.996 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2771, allocations: 11.89 kB / 0.996 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.2771, allocations: 4 kB / 0.996 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2771, allocations: 0 / 0.996 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.2792, allocations: 0.9599 MB / 0.9969 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2793, allocations: 4 kB / 0.997 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.2797, allocations: 51.89 kB / 0.997 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.2801, allocations: 86.61 kB / 0.9971 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.2802, allocations: 4 kB / 0.9971 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.2802, allocations: 11.92 kB / 0.9971 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2802, allocations: 0 / 0.9971 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2815, allocations: 0.5467 MB / 0.9976 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.2817, allocations: 148.5 kB / 0.9978 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.2818, allocations: 8 kB / 0.9978 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.2822, allocations: 31.97 kB / 0.9978 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2824, allocations: 15.97 kB / 0.9978 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.2824, allocations: 12 kB / 0.9978 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003051/0.2827, allocations: 231.2 kB / 0.9981 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2827, allocations: 0 / 0.9981 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005637/0.2833, allocations: 84 kB / 0.9981 GB, free: 7.234 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.0001499/0.2835, allocations: 111.2 kB / 0.9982 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.2848, allocations: 0.6436 MB / 0.9989 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.2848, allocations: 0 / 0.9989 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.2855, allocations: 442.1 kB / 0.9993 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.2867, allocations: 123.2 kB / 0.9994 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2883, allocations: 0.8652 MB / 1 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2886, allocations: 0.8272 MB / 1.001 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.2891, allocations: 79.36 kB / 1.001 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2892, allocations: 27.44 kB / 1.001 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.2893, allocations: 0 / 1.001 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of Templates: time 0.01306/0.3023, allocations: 4.319 MB / 1.005 GB, free: 15.67 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)