Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009804/0.0009805, allocations: 183.6 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009222/0.0009221, allocations: 93.52 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003108, allocations: 12.72 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2187, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004741/0.2235, allocations: 3.413 MB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.2269, allocations: 1.825 MB / 0.9066 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.2272, allocations: 15.88 kB / 0.9066 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.2274, allocations: 59.5 kB / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007901/0.2282, allocations: 270.7 kB / 0.9069 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.2289, allocations: 233.6 kB / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000861/0.2298, allocations: 0.7336 MB / 0.9078 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.2306, allocations: 366.9 kB / 0.9082 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.231, allocations: 215 kB / 0.9084 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.2314, allocations: 215 kB / 0.9086 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.2314, allocations: 16 kB / 0.9086 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.2321, allocations: 331.3 kB / 0.9089 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.2322, allocations: 115.6 kB / 0.909 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.2325, allocations: 216.5 kB / 0.9093 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.233, allocations: 439.1 kB / 0.9097 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.233, allocations: 8 kB / 0.9097 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.233, allocations: 0 / 0.9097 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2331, allocations: 3.938 kB / 0.9097 GB, free: 55.01 MB / 0.6042 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.001222/0.2343, allocations: 0.6663 MB / 0.9103 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2343, allocations: 12.03 kB / 0.9103 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.2358, allocations: 144.1 kB / 0.9105 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.2363, allocations: 371.6 kB / 0.9108 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2364, allocations: 25.02 kB / 0.9109 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.2365, allocations: 28.38 kB / 0.9109 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2375, allocations: 0.5628 MB / 0.9114 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2376, allocations: 3.938 kB / 0.9114 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.2376, allocations: 16 kB / 0.9115 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/0.2377, allocations: 40.53 kB / 0.9115 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009815/0.2387, allocations: 413.8 kB / 0.9119 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.2417, allocations: 3.337 MB / 0.9151 GB, free: 49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.2426, allocations: 342.4 kB / 0.9155 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.243, allocations: 176.8 kB / 0.9156 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2431, allocations: 4 kB / 0.9156 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.2431, allocations: 38.56 kB / 0.9157 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.2431, allocations: 0 / 0.9157 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.002742/0.2458, allocations: 1.089 MB / 0.9167 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2459, allocations: 55.64 kB / 0.9168 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.2463, allocations: 341.5 kB / 0.9171 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2464, allocations: 29.7 kB / 0.9172 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.2465, allocations: 243.6 kB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.2467, allocations: 98.58 kB / 0.9175 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.2467, allocations: 8 kB / 0.9175 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2468, allocations: 342.8 kB / 0.9178 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.2472, allocations: 160.8 kB / 0.918 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.2477, allocations: 297.3 kB / 0.9183 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/0.2486, allocations: 492.4 kB / 0.9187 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2487, allocations: 0 / 0.9187 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001388/0.2501, allocations: 0.5775 MB / 0.9193 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.2501, allocations: 8 kB / 0.9193 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2501, allocations: 4 kB / 0.9193 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.2506, allocations: 86.5 kB / 0.9194 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.2511, allocations: 96.23 kB / 0.9195 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.2511, allocations: 11.98 kB / 0.9195 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.2515, allocations: 35.91 kB / 0.9195 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.2516, allocations: 12 kB / 0.9195 GB, free: 44.25 MB / 0.6042 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 (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.0002321/0.2518, allocations: 183.6 kB / 0.9197 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.252, allocations: 43.53 kB / 0.9197 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2532, allocations: 476 kB / 0.9202 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2532, allocations: 7.938 kB / 0.9202 GB, free: 43.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2532, allocations: 4 kB / 0.9202 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2532, allocations: 3.984 kB / 0.9202 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.2551, allocations: 0.9689 MB / 0.9212 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2551, allocations: 8 kB / 0.9212 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.2555, allocations: 51.89 kB / 0.9212 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.2558, allocations: 86.52 kB / 0.9213 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2559, allocations: 4.094 kB / 0.9213 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.2559, allocations: 11.98 kB / 0.9213 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.2559, allocations: 0 / 0.9213 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.257, allocations: 0.5583 MB / 0.9219 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2572, allocations: 136.6 kB / 0.922 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.2573, allocations: 7.984 kB / 0.922 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.2576, allocations: 19.98 kB / 0.922 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.2577, allocations: 35.89 kB / 0.9221 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.2578, allocations: 8 kB / 0.9221 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002626/0.2581, allocations: 235.2 kB / 0.9223 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2581, allocations: 0 / 0.9223 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006434/0.2587, allocations: 84 kB / 0.9224 GB, free: 41.18 MB / 0.6042 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 (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.0001346/0.2589, allocations: 107.2 kB / 0.9225 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.26, allocations: 0.6479 MB / 0.9231 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.26, allocations: 4.125 kB / 0.9231 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.2605, allocations: 441.6 kB / 0.9235 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.2616, allocations: 113.5 kB / 0.9236 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.2631, allocations: 0.9441 MB / 0.9246 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2634, allocations: 0.8311 MB / 0.9254 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2635, allocations: 39.36 kB / 0.9254 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2636, allocations: 0 / 0.9254 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.01367/0.2772, allocations: 9.383 MB / 0.9346 GB, free: 28.5 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)