Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006276/0.006276, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001256/0.001256, allocations: 199.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.91 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9921, allocations: 104.7 MB / 0.828 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005446/0.9976, allocations: 3.033 MB / 0.831 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003204/1.001, allocations: 1.781 MB / 0.8327 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/1.001, allocations: 4 kB / 0.8327 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00095/1.002, allocations: 234.9 kB / 0.833 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0006347/1.003, allocations: 203 kB / 0.8332 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/1.004, allocations: 251.3 kB / 0.8334 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/1.004, allocations: 390.8 kB / 0.8338 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/1.005, allocations: 213.3 kB / 0.834 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/1.005, allocations: 167.4 kB / 0.8341 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/1.005, allocations: 175.4 kB / 0.8343 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/1.005, allocations: 31.94 kB / 0.8343 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/1.006, allocations: 251.5 kB / 0.8346 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/1.006, allocations: 107.7 kB / 0.8347 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/1.006, allocations: 143.2 kB / 0.8348 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006244/1.007, allocations: 472.8 kB / 0.8353 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.007, allocations: 0 / 0.8353 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/1.007, allocations: 0 / 0.8353 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.007, allocations: 0 / 0.8353 GB, free: 11.2 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001416/1.008, allocations: 0.6331 MB / 0.8359 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.008, allocations: 8.031 kB / 0.8359 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/1.009, allocations: 104.5 kB / 0.836 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/1.009, allocations: 291.2 kB / 0.8363 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.009, allocations: 12.81 kB / 0.8363 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/1.01, allocations: 16.38 kB / 0.8363 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/1.01, allocations: 422.9 kB / 0.8367 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.01, allocations: 0 / 0.8367 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/1.01, allocations: 11.98 kB / 0.8367 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/1.011, allocations: 24.36 kB / 0.8367 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/1.011, allocations: 384.8 kB / 0.8371 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/1.013, allocations: 1.607 MB / 0.8387 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.014, allocations: 457.1 kB / 0.8391 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/1.015, allocations: 200.4 kB / 0.8393 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/1.015, allocations: 89.11 kB / 0.8394 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/1.016, allocations: 258.5 kB / 0.8396 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=27): time 3.266e-06/1.016, allocations: 0 / 0.8396 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.002267/1.018, allocations: 0.7535 MB / 0.8404 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.018, allocations: 81.11 kB / 0.8404 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/1.018, allocations: 228.9 kB / 0.8407 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/1.018, allocations: 29.7 kB / 0.8407 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/1.019, allocations: 160.4 kB / 0.8408 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.019, allocations: 98.59 kB / 0.8409 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.019, allocations: 61.69 kB / 0.841 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002445/1.019, allocations: 338.8 kB / 0.8413 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/1.02, allocations: 169.1 kB / 0.8415 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/1.02, allocations: 257.9 kB / 0.8417 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/1.021, allocations: 448.9 kB / 0.8421 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.021, allocations: 0 / 0.8421 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001407/1.023, allocations: 0.55 MB / 0.8427 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/1.023, allocations: 37.98 kB / 0.8427 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.023, allocations: 7.922 kB / 0.8427 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/1.023, allocations: 40.83 kB / 0.8428 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.023, allocations: 79.86 kB / 0.8428 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.025, allocations: 1.611 MB / 0.8444 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/1.026, allocations: 43.8 kB / 0.8445 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/1.026, allocations: 19.98 kB / 0.8445 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005189/1.026, allocations: 280.3 kB / 0.8447 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004375/1.027, allocations: 242.2 kB / 0.845 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00082/1.028, allocations: 425.8 kB / 0.8454 GB, free: 140 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/1.028, allocations: 4 kB / 0.8454 GB, free: 136 kB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001158/1.029, allocations: 0.515 MB / 0.8459 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/1.029, allocations: 33.7 kB / 0.8459 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.029, allocations: 4.281 kB / 0.8459 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/1.029, allocations: 44.81 kB / 0.846 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/1.029, allocations: 79.88 kB / 0.846 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/1.031, allocations: 1.611 MB / 0.8476 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/1.031, allocations: 39.81 kB / 0.8477 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/1.031, allocations: 15.98 kB / 0.8477 GB, free: 13.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002624/1.032, allocations: 204.2 kB / 0.8479 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/1.032, allocations: 23.72 kB / 0.8479 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/1.033, allocations: 468.4 kB / 0.8483 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.033, allocations: 4.141 kB / 0.8483 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.033, allocations: 7.984 kB / 0.8483 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/1.033, allocations: 3.938 kB / 0.8483 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/1.034, allocations: 0.566 MB / 0.8489 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.034, allocations: 4 kB / 0.8489 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/1.034, allocations: 75.95 kB / 0.849 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/1.034, allocations: 36.83 kB / 0.849 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/1.034, allocations: 11.94 kB / 0.849 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/1.036, allocations: 1.511 MB / 0.8505 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.036, allocations: 4.031 kB / 0.8505 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/1.037, allocations: 0.5389 MB / 0.851 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/1.037, allocations: 132.7 kB / 0.8512 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/1.037, allocations: 15.84 kB / 0.8512 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/1.038, allocations: 39.95 kB / 0.8512 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.038, allocations: 31.95 kB / 0.8512 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.038, allocations: 8 kB / 0.8512 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002036/1.038, allocations: 172.5 kB / 0.8514 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/1.038, allocations: 0 / 0.8514 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007563/1.039, allocations: 128 kB / 0.8515 GB, free: 9.387 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/1.039, allocations: 116.2 kB / 0.8516 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.041, allocations: 0.9813 MB / 0.8526 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.041, allocations: 0 / 0.8526 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/1.042, allocations: 323.3 kB / 0.8529 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/1.042, allocations: 62.78 kB / 0.853 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/1.044, allocations: 0.6125 MB / 0.8536 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.044, allocations: 0.7839 MB / 0.8543 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000313/1.045, allocations: 94.2 kB / 0.8544 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.045, allocations: 27.42 kB / 0.8545 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/1.045, allocations: 0 / 0.8545 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of Templates: time 0.01123/1.056, allocations: 4.575 MB / 0.8589 GB, free: 1.727 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)