Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001222/0.001222, allocations: 115 kB / 17.09 MB, free: 5.988 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.001356/0.001356, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7151/0.7151, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.27 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1802, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004585/0.1848, allocations: 3.015 MB / 0.6357 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1879, allocations: 1.898 MB / 0.6375 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.188, allocations: 7.938 kB / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.1889, allocations: 233.4 kB / 0.6378 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.1894, allocations: 230.9 kB / 0.638 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.19, allocations: 251.3 kB / 0.6382 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.1904, allocations: 394.7 kB / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1909, allocations: 205.8 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.1911, allocations: 155.4 kB / 0.6389 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.1915, allocations: 183.4 kB / 0.6391 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.1916, allocations: 24 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.192, allocations: 287.5 kB / 0.6394 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1921, allocations: 99.7 kB / 0.6395 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1923, allocations: 147.2 kB / 0.6397 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.1929, allocations: 498.5 kB / 0.6401 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1929, allocations: 0 / 0.6401 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1929, allocations: 0 / 0.6401 GB, free: 12.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1929, allocations: 0 / 0.6401 GB, free: 12.79 MB / 494.1 MB 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.001271/0.1942, allocations: 0.6408 MB / 0.6408 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1942, allocations: 8.031 kB / 0.6408 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/0.1952, allocations: 120.4 kB / 0.6409 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1956, allocations: 287.7 kB / 0.6412 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1956, allocations: 12.81 kB / 0.6412 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.1957, allocations: 20.38 kB / 0.6412 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008039/0.1965, allocations: 430.8 kB / 0.6416 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1965, allocations: 0 / 0.6416 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.1965, allocations: 15.98 kB / 0.6416 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.1966, allocations: 24.34 kB / 0.6416 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.1975, allocations: 404.7 kB / 0.642 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1995, allocations: 1.619 MB / 0.6436 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2007, allocations: 481 kB / 0.6441 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.2012, allocations: 199.6 kB / 0.6442 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.2014, allocations: 92.97 kB / 0.6443 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/0.202, allocations: 272.1 kB / 0.6446 GB, free: 7.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.202, allocations: 4 kB / 0.6446 GB, free: 7.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001966/0.204, allocations: 0.7591 MB / 0.6453 GB, free: 7.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.204, allocations: 81.11 kB / 0.6454 GB, free: 7.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2043, allocations: 225 kB / 0.6456 GB, free: 6.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.2043, allocations: 33.7 kB / 0.6457 GB, free: 6.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2044, allocations: 172.2 kB / 0.6458 GB, free: 6.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.2045, allocations: 90.73 kB / 0.6459 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2047, allocations: 77.34 kB / 0.646 GB, free: 6.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2048, allocations: 334.8 kB / 0.6463 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.2052, allocations: 181.1 kB / 0.6465 GB, free: 5.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.2057, allocations: 249.3 kB / 0.6467 GB, free: 5.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.2067, allocations: 462.9 kB / 0.6472 GB, free: 5.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2067, allocations: 0 / 0.6472 GB, free: 5.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001189/0.2079, allocations: 0.5435 MB / 0.6477 GB, free: 4.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.2079, allocations: 41.69 kB / 0.6477 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2079, allocations: 4 kB / 0.6477 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.2082, allocations: 45.11 kB / 0.6478 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.2086, allocations: 83.86 kB / 0.6479 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.2101, allocations: 1.611 MB / 0.6494 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.2105, allocations: 47.78 kB / 0.6495 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2105, allocations: 19.98 kB / 0.6495 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005102/0.211, allocations: 280.4 kB / 0.6498 GB, free: 2.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004493/0.2115, allocations: 238 kB / 0.65 GB, free: 2.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008508/0.2123, allocations: 448.6 kB / 0.6504 GB, free: 1.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2124, allocations: 4 kB / 0.6504 GB, free: 1.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001125/0.2135, allocations: 0.516 MB / 0.6509 GB, free: 1.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.2135, allocations: 35.58 kB / 0.651 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.2135, allocations: 0 / 0.651 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.2137, allocations: 48.81 kB / 0.651 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.2141, allocations: 79.86 kB / 0.6511 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.2157, allocations: 1.615 MB / 0.6527 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.216, allocations: 51.83 kB / 0.6527 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2161, allocations: 19.98 kB / 0.6527 GB, free: 15.01 MB / 0.4981 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.0001826/0.2163, allocations: 200.8 kB / 0.6529 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.2163, allocations: 23.72 kB / 0.6529 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.2177, allocations: 481.7 kB / 0.6534 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2177, allocations: 8 kB / 0.6534 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2177, allocations: 0 / 0.6534 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2179, allocations: 128.7 kB / 0.6535 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.2179, allocations: 7.984 kB / 0.6535 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.2183, allocations: 43.94 kB / 0.6536 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.2184, allocations: 27.95 kB / 0.6536 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001237/0.2196, allocations: 0.6182 MB / 0.6542 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001437/0.2211, allocations: 0.8455 MB / 0.655 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004213/0.2215, allocations: 187.9 kB / 0.6552 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002089/0.2217, allocations: 176.5 kB / 0.6554 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.2217, allocations: 0 / 0.6554 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.2243, allocations: 1.06 MB / 0.6564 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001143/0.2255, allocations: 0.9564 MB / 0.6574 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.01253/0.238, allocations: 7.818 MB / 0.665 GB, free: 2.297 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)