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.001575/0.001575, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001196/0.001196, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.4/1.4, allocations: 222.9 MB / 240.9 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.7746/0.7746, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 59.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3889, allocations: 77.93 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004589/0.3935, allocations: 3.732 MB / 0.5709 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.3961, allocations: 1.795 MB / 0.5726 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.3963, allocations: 18.81 kB / 0.5727 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008052/0.3971, allocations: 266.2 kB / 0.5729 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.3977, allocations: 291.8 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.3983, allocations: 251.8 kB / 0.5734 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.3989, allocations: 0.6006 MB / 0.574 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.3993, allocations: 252.6 kB / 0.5743 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.3996, allocations: 234.9 kB / 0.5745 GB, free: 28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3999, allocations: 234.3 kB / 0.5747 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.4, allocations: 26.34 kB / 0.5747 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.4004, allocations: 274.6 kB / 0.575 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.4006, allocations: 130.5 kB / 0.5751 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.4008, allocations: 211.5 kB / 0.5753 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.4015, allocations: 0.5787 MB / 0.5759 GB, free: 27.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4015, allocations: 1.438 kB / 0.5759 GB, free: 27.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4015, allocations: 0.6562 kB / 0.5759 GB, free: 27.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.4015, allocations: 0 / 0.5759 GB, free: 27.42 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.0009977/0.4025, allocations: 0.735 MB / 0.5766 GB, free: 26.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4026, allocations: 10.73 kB / 0.5766 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.4035, allocations: 139.9 kB / 0.5767 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.4039, allocations: 375.5 kB / 0.5771 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.404, allocations: 20.34 kB / 0.5771 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.404, allocations: 32.58 kB / 0.5772 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.4047, allocations: 0.5533 MB / 0.5777 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4047, allocations: 6.125 kB / 0.5777 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.4048, allocations: 17.44 kB / 0.5777 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/0.4049, allocations: 44.08 kB / 0.5778 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.4056, allocations: 407.1 kB / 0.5781 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.4078, allocations: 3.34 MB / 0.5814 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.4084, allocations: 339.2 kB / 0.5817 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.4087, allocations: 179.8 kB / 0.5819 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4087, allocations: 2.5 kB / 0.5819 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4087, allocations: 36.59 kB / 0.5819 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.4088, allocations: 2.469 kB / 0.5819 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001901/0.4107, allocations: 1.056 MB / 0.583 GB, free: 22.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.4107, allocations: 58.39 kB / 0.583 GB, free: 21.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.411, allocations: 338.8 kB / 0.5834 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.411, allocations: 30.67 kB / 0.5834 GB, free: 21.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.4111, allocations: 242.4 kB / 0.5836 GB, free: 21.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.4112, allocations: 99.89 kB / 0.5837 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4113, allocations: 80.28 kB / 0.5838 GB, free: 21.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.4114, allocations: 348 kB / 0.5841 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.4116, allocations: 150.6 kB / 0.5843 GB, free: 20.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.4119, allocations: 300.1 kB / 0.5845 GB, free: 20.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.4125, allocations: 473.7 kB / 0.585 GB, free: 20.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4125, allocations: 1.344 kB / 0.585 GB, free: 20.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008633/0.4134, allocations: 0.56 MB / 0.5855 GB, free: 20.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4134, allocations: 6.688 kB / 0.5856 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4134, allocations: 4.031 kB / 0.5856 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.4137, allocations: 98.44 kB / 0.5856 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.414, allocations: 84.75 kB / 0.5857 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4141, allocations: 9.938 kB / 0.5857 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.4143, allocations: 33.53 kB / 0.5858 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.4144, allocations: 18.72 kB / 0.5858 GB, free: 19.95 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.0001486/0.4145, allocations: 174 kB / 0.586 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.4146, allocations: 40.19 kB / 0.586 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.4154, allocations: 467.5 kB / 0.5864 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4155, allocations: 6.375 kB / 0.5864 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4155, allocations: 1.344 kB / 0.5864 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4155, allocations: 1.438 kB / 0.5864 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4168, allocations: 0.9651 MB / 0.5874 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4168, allocations: 1.406 kB / 0.5874 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.417, allocations: 51.92 kB / 0.5874 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.4173, allocations: 88.8 kB / 0.5875 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.4173, allocations: 5 kB / 0.5875 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4173, allocations: 2.531 kB / 0.5875 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4173, allocations: 1.219 kB / 0.5875 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.418, allocations: 0.5486 MB / 0.5881 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4182, allocations: 133.2 kB / 0.5882 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.4182, allocations: 14.64 kB / 0.5882 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4184, allocations: 22.56 kB / 0.5882 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.4185, allocations: 26.28 kB / 0.5883 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4185, allocations: 5.5 kB / 0.5883 GB, free: 18.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4187, allocations: 234.8 kB / 0.5885 GB, free: 17.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.4188, allocations: 0 / 0.5885 GB, free: 17.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.4192, allocations: 87.97 kB / 0.5886 GB, free: 17.97 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.0001116/0.4193, allocations: 105 kB / 0.5887 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008265/0.4202, allocations: 0.6631 MB / 0.5893 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4202, allocations: 4.062 kB / 0.5893 GB, free: 17.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.4206, allocations: 431.8 kB / 0.5897 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.4214, allocations: 140.2 kB / 0.5899 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4226, allocations: 0.7221 MB / 0.5906 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4229, allocations: 0.8289 MB / 0.5914 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.4232, allocations: 80.14 kB / 0.5915 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.4233, allocations: 28.12 kB / 0.5915 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4233, allocations: 0 / 0.5915 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Templates: time 0.008839/0.4321, allocations: 4.668 MB / 0.596 GB, free: 12.36 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)