Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.783/1.783, allocations: 288.4 MB / 303.4 MB, free: 8.168 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.0009644/0.0009644, allocations: 186.9 kB / 372 MB, free: 10.25 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.645/1.645, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0009546/0.0009549, allocations: 98.91 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 15.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2129, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004978/0.2179, allocations: 3.251 MB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.2218, allocations: 1.736 MB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005861/0.2225, allocations: 7.938 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.2229, allocations: 59.44 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.2241, allocations: 234.8 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.225, allocations: 181.8 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009071/0.226, allocations: 0.6361 MB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008025/0.2268, allocations: 330.5 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.2273, allocations: 207.1 kB / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.2278, allocations: 215.1 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.2279, allocations: 15.94 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.2284, allocations: 131.8 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2285, allocations: 103.6 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2287, allocations: 97.52 kB / 0.9866 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.2293, allocations: 435.1 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2293, allocations: 0 / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2293, allocations: 4 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.2294, allocations: 4 kB / 0.987 GB, free: 19.96 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.001376/0.2307, allocations: 0.6675 MB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2308, allocations: 12.03 kB / 0.9877 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.2321, allocations: 143.2 kB / 0.9878 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.2328, allocations: 362.6 kB / 0.9882 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.2329, allocations: 24.64 kB / 0.9882 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.233, allocations: 31.94 kB / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.234, allocations: 0.5476 MB / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.2341, allocations: 0 / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.2342, allocations: 19.98 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/0.2343, allocations: 44.52 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009644/0.2352, allocations: 417.7 kB / 0.9892 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.2383, allocations: 3.337 MB / 0.9925 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.2393, allocations: 338.7 kB / 0.9928 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.2397, allocations: 178.5 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2398, allocations: 4 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2398, allocations: 38.56 kB / 0.993 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.297e-06/0.2398, allocations: 0 / 0.993 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002826/0.2426, allocations: 1.073 MB / 0.9941 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.2427, allocations: 63.64 kB / 0.9941 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.2431, allocations: 333.5 kB / 0.9944 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2432, allocations: 33.7 kB / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2434, allocations: 247.5 kB / 0.9947 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.2435, allocations: 94.59 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.2435, allocations: 12 kB / 0.9948 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.2436, allocations: 346.8 kB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.244, allocations: 152.8 kB / 0.9953 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.2445, allocations: 295.1 kB / 0.9956 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.245, allocations: 195.8 kB / 0.9958 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2451, allocations: 4 kB / 0.9958 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001459/0.2465, allocations: 0.5708 MB / 0.9963 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2466, allocations: 11.94 kB / 0.9963 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2466, allocations: 8 kB / 0.9963 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.2471, allocations: 86.5 kB / 0.9964 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.2476, allocations: 95.81 kB / 0.9965 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.2476, allocations: 7.984 kB / 0.9965 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.2481, allocations: 35.98 kB / 0.9965 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.2482, allocations: 19.92 kB / 0.9966 GB, free: 9.555 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.0002661/0.2484, allocations: 181.8 kB / 0.9967 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2486, allocations: 39.53 kB / 0.9968 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.2498, allocations: 468.1 kB / 0.9972 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.2498, allocations: 4 kB / 0.9972 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.2498, allocations: 3.953 kB / 0.9972 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2498, allocations: 7.984 kB / 0.9972 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2518, allocations: 0.9638 MB / 0.9982 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2518, allocations: 4 kB / 0.9982 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.2522, allocations: 52 kB / 0.9982 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.2526, allocations: 86.5 kB / 0.9983 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.2526, allocations: 4 kB / 0.9983 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.2526, allocations: 7.938 kB / 0.9983 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2526, allocations: 4 kB / 0.9983 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2538, allocations: 0.5506 MB / 0.9989 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.254, allocations: 144.6 kB / 0.999 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.2541, allocations: 7.953 kB / 0.999 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.2545, allocations: 23.97 kB / 0.999 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.2546, allocations: 19.97 kB / 0.9991 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.2546, allocations: 12 kB / 0.9991 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003136/0.2549, allocations: 235.2 kB / 0.9993 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2549, allocations: 0 / 0.9993 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006294/0.2556, allocations: 88 kB / 0.9994 GB, free: 6.516 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.0001398/0.2557, allocations: 107.2 kB / 0.9995 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2569, allocations: 0.6395 MB / 1 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2569, allocations: 4 kB / 1 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.2575, allocations: 442.4 kB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2585, allocations: 120.2 kB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.26, allocations: 0.873 MB / 1.001 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.2604, allocations: 0.8195 MB / 1.002 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.2608, allocations: 83.34 kB / 1.002 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2609, allocations: 27.44 kB / 1.002 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2609, allocations: 0 / 1.002 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of Templates: time 0.01207/0.273, allocations: 4.311 MB / 1.007 GB, free: 14.96 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)