Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 104.4 kB / 16.94 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 191.6 kB / 17.87 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8205/0.8205, allocations: 125.3 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 60.12 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 78.57 MB / 0.5715 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004747/0.3674, allocations: 3.725 MB / 0.5752 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.3702, allocations: 1.796 MB / 0.5769 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.3705, allocations: 19.41 kB / 0.5769 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008166/0.3713, allocations: 260 kB / 0.5772 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.372, allocations: 297.6 kB / 0.5775 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.3726, allocations: 251.2 kB / 0.5777 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.3731, allocations: 0.6031 MB / 0.5783 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004278/0.3736, allocations: 258 kB / 0.5785 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.3739, allocations: 235.3 kB / 0.5788 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.3742, allocations: 229 kB / 0.579 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.3743, allocations: 26.28 kB / 0.579 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.3748, allocations: 281.9 kB / 0.5793 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3749, allocations: 122.9 kB / 0.5794 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3751, allocations: 214.6 kB / 0.5796 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.3758, allocations: 0.5796 MB / 0.5802 GB, free: 26.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3758, allocations: 0 / 0.5802 GB, free: 26.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3758, allocations: 0 / 0.5802 GB, free: 26.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3758, allocations: 1.375 kB / 0.5802 GB, free: 26.01 MB / 446.1 MB 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.001022/0.3768, allocations: 0.7378 MB / 0.5809 GB, free: 25.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3769, allocations: 8.344 kB / 0.5809 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008604/0.3777, allocations: 134 kB / 0.581 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3781, allocations: 375.8 kB / 0.5814 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3782, allocations: 26.2 kB / 0.5814 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.3782, allocations: 35.89 kB / 0.5814 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.3789, allocations: 0.5514 MB / 0.582 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.3789, allocations: 1.875 kB / 0.582 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.379, allocations: 17.14 kB / 0.582 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/0.379, allocations: 42.66 kB / 0.582 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.3797, allocations: 410.9 kB / 0.5824 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.3817, allocations: 3.337 MB / 0.5857 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.3823, allocations: 337.3 kB / 0.586 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3826, allocations: 173.6 kB / 0.5862 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3826, allocations: 6 kB / 0.5862 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3826, allocations: 39.91 kB / 0.5862 GB, free: 20.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.3826, allocations: 1.406 kB / 0.5862 GB, free: 20.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001817/0.3845, allocations: 1.054 MB / 0.5873 GB, free: 20.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.3845, allocations: 54.17 kB / 0.5873 GB, free: 20.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.3848, allocations: 344.2 kB / 0.5876 GB, free: 19.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3848, allocations: 30.73 kB / 0.5877 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.3849, allocations: 246.5 kB / 0.5879 GB, free: 19.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.385, allocations: 96.59 kB / 0.588 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.3851, allocations: 81.41 kB / 0.5881 GB, free: 19.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.3851, allocations: 339.6 kB / 0.5884 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.3854, allocations: 158.9 kB / 0.5885 GB, free: 19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.3857, allocations: 290.9 kB / 0.5888 GB, free: 18.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.3862, allocations: 482.5 kB / 0.5893 GB, free: 18.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3862, allocations: 5.219 kB / 0.5893 GB, free: 18.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008523/0.3871, allocations: 0.5587 MB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3871, allocations: 7.781 kB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3871, allocations: 4.094 kB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.3874, allocations: 94.66 kB / 0.5899 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.3878, allocations: 83.7 kB / 0.59 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.3878, allocations: 15.86 kB / 0.59 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3881, allocations: 32.41 kB / 0.5901 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.3881, allocations: 18.7 kB / 0.5901 GB, free: 17.97 MB / 446.1 MB 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.3882, allocations: 176.8 kB / 0.5902 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.3883, allocations: 42.06 kB / 0.5903 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.3891, allocations: 471.5 kB / 0.5907 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3891, allocations: 3.031 kB / 0.5907 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3891, allocations: 5.312 kB / 0.5907 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3891, allocations: 0 / 0.5907 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3903, allocations: 0.9608 MB / 0.5917 GB, free: 16.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3903, allocations: 5.125 kB / 0.5917 GB, free: 16.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.3906, allocations: 51.86 kB / 0.5917 GB, free: 16.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.3908, allocations: 84.89 kB / 0.5918 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3908, allocations: 6.188 kB / 0.5918 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3908, allocations: 2.75 kB / 0.5918 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3908, allocations: 0 / 0.5918 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.3916, allocations: 0.5406 MB / 0.5924 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3917, allocations: 138.1 kB / 0.5925 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.3918, allocations: 7.438 kB / 0.5925 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.392, allocations: 21.75 kB / 0.5925 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.3921, allocations: 26.66 kB / 0.5925 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3921, allocations: 9.25 kB / 0.5925 GB, free: 16.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.3923, allocations: 237.3 kB / 0.5928 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3923, allocations: 4.844 kB / 0.5928 GB, free: 16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.3928, allocations: 84.44 kB / 0.5929 GB, free: 15.99 MB / 446.1 MB 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.3929, allocations: 104.9 kB / 0.593 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009157/0.3938, allocations: 0.6683 MB / 0.5936 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3938, allocations: 0 / 0.5936 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.3942, allocations: 440.4 kB / 0.594 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.3949, allocations: 123 kB / 0.5941 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.396, allocations: 0.7618 MB / 0.5949 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3962, allocations: 0.8255 MB / 0.5957 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.3963, allocations: 35.31 kB / 0.5957 GB, free: 13.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3963, allocations: 5.344 kB / 0.5957 GB, free: 13.63 MB / 446.1 MB Notification: Performance of Templates: time 0.009183/0.4055, allocations: 9.439 MB / 0.605 GB, free: 4.328 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)