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.00171/0.00171, allocations: 107.6 kB / 16.4 MB, free: 6.457 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.001952/0.001952, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.59 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1774, allocations: 76.19 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00468/0.1821, allocations: 3.001 MB / 0.635 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1851, allocations: 1.898 MB / 0.6369 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1853, allocations: 4 kB / 0.6369 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.1861, allocations: 252.6 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.1866, allocations: 223 kB / 0.6373 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.1872, allocations: 243.3 kB / 0.6376 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.1876, allocations: 398.7 kB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.188, allocations: 205.8 kB / 0.6381 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1882, allocations: 163.4 kB / 0.6383 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.1885, allocations: 179.4 kB / 0.6385 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.1886, allocations: 28 kB / 0.6385 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.189, allocations: 287.5 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1891, allocations: 103.7 kB / 0.6389 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1893, allocations: 147.2 kB / 0.639 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.1899, allocations: 486.5 kB / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1899, allocations: 0 / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1899, allocations: 4 kB / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1899, allocations: 0 / 0.6395 GB, free: 12.8 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.001104/0.191, allocations: 0.6409 MB / 0.6401 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1911, allocations: 12.02 kB / 0.6401 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/0.192, allocations: 116.4 kB / 0.6402 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1924, allocations: 287.6 kB / 0.6405 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1924, allocations: 16.81 kB / 0.6405 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.1924, allocations: 32.34 kB / 0.6405 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.1932, allocations: 426.8 kB / 0.6409 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1933, allocations: 4 kB / 0.6409 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.1933, allocations: 8 kB / 0.641 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.1934, allocations: 24.36 kB / 0.641 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.1943, allocations: 396.8 kB / 0.6414 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1961, allocations: 1.626 MB / 0.6429 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.1974, allocations: 469 kB / 0.6434 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.1979, allocations: 207 kB / 0.6436 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.198, allocations: 100.9 kB / 0.6437 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/0.1986, allocations: 268.2 kB / 0.6439 GB, free: 7.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.1986, allocations: 0 / 0.6439 GB, free: 7.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001987/0.2006, allocations: 0.7589 MB / 0.6447 GB, free: 7.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2007, allocations: 81.11 kB / 0.6448 GB, free: 7.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.2009, allocations: 225 kB / 0.645 GB, free: 6.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.2009, allocations: 29.7 kB / 0.645 GB, free: 6.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2011, allocations: 172.5 kB / 0.6452 GB, free: 6.586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.2011, allocations: 90.73 kB / 0.6453 GB, free: 6.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2013, allocations: 73.34 kB / 0.6453 GB, free: 6.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2014, allocations: 334.8 kB / 0.6456 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.2019, allocations: 177 kB / 0.6458 GB, free: 5.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.2024, allocations: 249.3 kB / 0.646 GB, free: 5.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.2033, allocations: 474.9 kB / 0.6465 GB, free: 5.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2033, allocations: 4 kB / 0.6465 GB, free: 5.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00123/0.2046, allocations: 0.5435 MB / 0.647 GB, free: 4.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.2046, allocations: 37.98 kB / 0.6471 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2046, allocations: 0 / 0.6471 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.2048, allocations: 36.83 kB / 0.6471 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.2053, allocations: 91.84 kB / 0.6472 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.2066, allocations: 1.603 MB / 0.6488 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.207, allocations: 51.73 kB / 0.6488 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.207, allocations: 16.05 kB / 0.6488 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005035/0.2075, allocations: 280.3 kB / 0.6491 GB, free: 2.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004599/0.208, allocations: 242 kB / 0.6493 GB, free: 2.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009042/0.2089, allocations: 448.6 kB / 0.6497 GB, free: 1.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.2089, allocations: 0 / 0.6497 GB, free: 1.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001165/0.2101, allocations: 0.5236 MB / 0.6503 GB, free: 1.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.2102, allocations: 33.69 kB / 0.6503 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2102, allocations: 4 kB / 0.6503 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.2103, allocations: 37.02 kB / 0.6503 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.2107, allocations: 88.14 kB / 0.6504 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.2121, allocations: 1.631 MB / 0.652 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.2124, allocations: 43.81 kB / 0.652 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.2125, allocations: 15.98 kB / 0.6521 GB, free: 15.02 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.0001703/0.2126, allocations: 196.9 kB / 0.6523 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.2127, allocations: 31.78 kB / 0.6523 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.2138, allocations: 473.6 kB / 0.6527 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2139, allocations: 4.141 kB / 0.6527 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2139, allocations: 3.984 kB / 0.6527 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2139, allocations: 0 / 0.6527 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.2145, allocations: 0.57 MB / 0.6533 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2146, allocations: 4.094 kB / 0.6533 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.215, allocations: 71.86 kB / 0.6534 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.2151, allocations: 40.83 kB / 0.6534 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2151, allocations: 7.984 kB / 0.6534 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.2163, allocations: 1.515 MB / 0.6549 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2164, allocations: 0 / 0.6549 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.2174, allocations: 0.5458 MB / 0.6554 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2175, allocations: 136.7 kB / 0.6556 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.2176, allocations: 16 kB / 0.6556 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.2179, allocations: 35.94 kB / 0.6556 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.218, allocations: 27.97 kB / 0.6556 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.218, allocations: 15.92 kB / 0.6557 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002112/0.2183, allocations: 176.5 kB / 0.6558 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.2183, allocations: 4 kB / 0.6558 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005734/0.2189, allocations: 124 kB / 0.6559 GB, free: 10.77 MB / 0.4981 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.0001737/0.219, allocations: 119.2 kB / 0.6561 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.221, allocations: 1.001 MB / 0.657 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.221, allocations: 0 / 0.657 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.2216, allocations: 326.3 kB / 0.6573 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.2221, allocations: 52.61 kB / 0.6574 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2233, allocations: 0.6147 MB / 0.658 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.2236, allocations: 0.7839 MB / 0.6588 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.2239, allocations: 98.19 kB / 0.6589 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2241, allocations: 27.44 kB / 0.6589 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.2241, allocations: 3.938 kB / 0.6589 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.008921/0.233, allocations: 4.837 MB / 0.6636 GB, free: 2.82 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)