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 2.905/2.905, allocations: 287.3 MB / 302.3 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.002382/0.002381, allocations: 177 kB / 370.8 MB, free: 10.85 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.158/2.158, 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.001243/0.001243, allocations: 86.11 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004982, allocations: 11.3 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2697, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004755/0.2745, allocations: 3.169 MB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003683/0.2783, allocations: 1.709 MB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.2788, allocations: 15.88 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.279, allocations: 39.69 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009693/0.28, allocations: 239.2 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.2809, allocations: 193.3 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008602/0.2817, allocations: 388.8 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.2826, allocations: 338.4 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.2831, allocations: 191.3 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.2835, allocations: 191.2 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.2836, allocations: 12 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.2839, allocations: 99.88 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2841, allocations: 95.66 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2842, allocations: 93.52 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.2848, allocations: 411.1 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2849, allocations: 0 / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2849, allocations: 0 / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.956e-06/0.2849, allocations: 4 kB / 0.9852 GB, free: 21.17 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.001418/0.2863, allocations: 0.6582 MB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2864, allocations: 8.031 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.2875, allocations: 131.3 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.2883, allocations: 362.6 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.2884, allocations: 24.64 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.2885, allocations: 28 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2896, allocations: 0.5514 MB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.2897, allocations: 0 / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.2897, allocations: 19.98 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.905e-05/0.2899, allocations: 40.53 kB / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.291, allocations: 425.6 kB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.2948, allocations: 3.334 MB / 0.9906 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2959, allocations: 342.6 kB / 0.9909 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.2959, allocations: 4 kB / 0.9909 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.296, allocations: 38.5 kB / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 4.198e-06/0.296, allocations: 0 / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.003108/0.2991, allocations: 1.077 MB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2992, allocations: 55.64 kB / 0.9921 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2996, allocations: 341.5 kB / 0.9924 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.2997, allocations: 29.7 kB / 0.9924 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.2998, allocations: 247.5 kB / 0.9927 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.2999, allocations: 98.64 kB / 0.9928 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.3, allocations: 4 kB / 0.9928 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.3001, allocations: 350.8 kB / 0.9931 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.3005, allocations: 152.8 kB / 0.9932 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.3011, allocations: 295 kB / 0.9935 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.3016, allocations: 196.8 kB / 0.9937 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3016, allocations: 0 / 0.9937 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001532/0.3032, allocations: 0.5775 MB / 0.9943 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.3032, allocations: 8 kB / 0.9943 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3032, allocations: 4 kB / 0.9943 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.3037, allocations: 82.98 kB / 0.9944 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.3044, allocations: 99.81 kB / 0.9945 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.3044, allocations: 8 kB / 0.9945 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.3049, allocations: 31.91 kB / 0.9945 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.305, allocations: 20 kB / 0.9945 GB, free: 10.97 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.0002694/0.3053, allocations: 177.6 kB / 0.9947 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.3054, allocations: 43.53 kB / 0.9947 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.3067, allocations: 464.1 kB / 0.9952 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3068, allocations: 3.953 kB / 0.9952 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3068, allocations: 8 kB / 0.9952 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3068, allocations: 3.984 kB / 0.9952 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.309, allocations: 0.9677 MB / 0.9961 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.309, allocations: 0 / 0.9961 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.3095, allocations: 47.91 kB / 0.9962 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.3099, allocations: 82.5 kB / 0.9963 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.31, allocations: 8.094 kB / 0.9963 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.31, allocations: 8 kB / 0.9963 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.31, allocations: 0 / 0.9963 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3113, allocations: 0.5947 MB / 0.9968 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.3116, allocations: 136.5 kB / 0.997 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.3117, allocations: 8 kB / 0.997 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.3121, allocations: 27.97 kB / 0.997 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3122, allocations: 27.92 kB / 0.997 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.3122, allocations: 11.88 kB / 0.9971 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003365/0.3126, allocations: 235.2 kB / 0.9973 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3126, allocations: 0 / 0.9973 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009176/0.3135, allocations: 84 kB / 0.9974 GB, free: 7.875 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.0002696/0.3138, allocations: 112.7 kB / 0.9975 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.3157, allocations: 0.6476 MB / 0.9981 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3158, allocations: 0 / 0.9981 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006592/0.3165, allocations: 433.7 kB / 0.9985 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.3175, allocations: 117.8 kB / 0.9986 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.319, allocations: 0.8627 MB / 0.9995 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3194, allocations: 0.8317 MB / 1 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004566/0.3199, allocations: 83.34 kB / 1 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.32, allocations: 27.44 kB / 1 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.32, allocations: 7.875 kB / 1 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.01328/0.3333, allocations: 4.298 MB / 1.005 GB, free: 332 kB / 0.6198 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)