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.001632/0.001632, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001922/0.001922, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.416/1.416, 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.7286/0.7286, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.2 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004417/0.1699, allocations: 3.015 MB / 0.635 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1729, allocations: 1.898 MB / 0.6369 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1731, allocations: 4 kB / 0.6369 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.174, allocations: 242.9 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.1746, allocations: 215 kB / 0.6373 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.1753, allocations: 255.3 kB / 0.6375 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.1758, allocations: 390.8 kB / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.1762, allocations: 209.8 kB / 0.6381 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.1765, allocations: 159.4 kB / 0.6383 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.1768, allocations: 175.4 kB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.1769, allocations: 27.94 kB / 0.6385 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.1774, allocations: 295.4 kB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1775, allocations: 99.7 kB / 0.6388 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1777, allocations: 139.3 kB / 0.639 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.1784, allocations: 494.5 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1784, allocations: 0 / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1784, allocations: 0 / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1784, allocations: 4 kB / 0.6395 GB, free: 12.82 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.00148/0.1799, allocations: 0.6409 MB / 0.6401 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1799, allocations: 12.03 kB / 0.6401 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.181, allocations: 112.4 kB / 0.6402 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.1814, allocations: 295.6 kB / 0.6405 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1815, allocations: 20.73 kB / 0.6405 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.1815, allocations: 24.38 kB / 0.6405 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.1824, allocations: 422.8 kB / 0.6409 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1824, allocations: 4 kB / 0.6409 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1824, allocations: 11.98 kB / 0.6409 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.1825, allocations: 24.36 kB / 0.641 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.1834, allocations: 404.8 kB / 0.6413 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.1853, allocations: 1.615 MB / 0.6429 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1866, allocations: 481 kB / 0.6434 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.187, allocations: 198.2 kB / 0.6436 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.1872, allocations: 88.95 kB / 0.6437 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/0.1878, allocations: 272.2 kB / 0.6439 GB, free: 7.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.704e-06/0.1878, allocations: 0 / 0.6439 GB, free: 7.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001987/0.1898, allocations: 0.7629 MB / 0.6447 GB, free: 7.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1899, allocations: 89.11 kB / 0.6447 GB, free: 7.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1901, allocations: 221 kB / 0.645 GB, free: 6.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1901, allocations: 29.7 kB / 0.645 GB, free: 6.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1903, allocations: 172.3 kB / 0.6452 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.1904, allocations: 86.75 kB / 0.6452 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1905, allocations: 69.34 kB / 0.6453 GB, free: 6.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1906, allocations: 338.8 kB / 0.6456 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.1911, allocations: 181 kB / 0.6458 GB, free: 5.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.1916, allocations: 253.3 kB / 0.646 GB, free: 5.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/0.1925, allocations: 462.9 kB / 0.6465 GB, free: 5.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1925, allocations: 0 / 0.6465 GB, free: 5.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001171/0.1937, allocations: 0.5592 MB / 0.647 GB, free: 4.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.1937, allocations: 29.7 kB / 0.6471 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1937, allocations: 7.984 kB / 0.6471 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.194, allocations: 40.81 kB / 0.6471 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.1944, allocations: 92.02 kB / 0.6472 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.1958, allocations: 1.603 MB / 0.6488 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.1962, allocations: 51.78 kB / 0.6488 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.1963, allocations: 12 kB / 0.6488 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005016/0.1968, allocations: 284.2 kB / 0.6491 GB, free: 2.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004443/0.1972, allocations: 242 kB / 0.6493 GB, free: 2.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008403/0.1981, allocations: 448.8 kB / 0.6497 GB, free: 1.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.1981, allocations: 0 / 0.6497 GB, free: 1.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001128/0.1992, allocations: 0.5195 MB / 0.6503 GB, free: 1.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1993, allocations: 33.98 kB / 0.6503 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1993, allocations: 8 kB / 0.6503 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.1994, allocations: 44.81 kB / 0.6503 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.1998, allocations: 75.88 kB / 0.6504 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.2012, allocations: 1.631 MB / 0.652 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.2016, allocations: 43.8 kB / 0.652 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.2016, allocations: 20.06 kB / 0.6521 GB, free: 15.03 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.0001686/0.2018, allocations: 192.9 kB / 0.6522 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.2019, allocations: 23.72 kB / 0.6523 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.203, allocations: 481.6 kB / 0.6527 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.203, allocations: 4 kB / 0.6527 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.203, allocations: 0 / 0.6527 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.203, allocations: 3.984 kB / 0.6527 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.2037, allocations: 0.5739 MB / 0.6533 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2037, allocations: 0 / 0.6533 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2041, allocations: 75.84 kB / 0.6534 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.2042, allocations: 36.83 kB / 0.6534 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2043, allocations: 8.094 kB / 0.6534 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.2054, allocations: 1.519 MB / 0.6549 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2054, allocations: 0 / 0.6549 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.2064, allocations: 0.5496 MB / 0.6554 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.2066, allocations: 128.7 kB / 0.6556 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.2067, allocations: 7.984 kB / 0.6556 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.207, allocations: 43.89 kB / 0.6556 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2071, allocations: 31.95 kB / 0.6556 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2072, allocations: 15.94 kB / 0.6556 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002407/0.2074, allocations: 180.5 kB / 0.6558 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2074, allocations: 0 / 0.6558 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006001/0.208, allocations: 132 kB / 0.6559 GB, free: 10.78 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.0001715/0.2082, allocations: 107.2 kB / 0.656 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.2102, allocations: 0.9995 MB / 0.657 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2102, allocations: 0 / 0.657 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.2108, allocations: 326.4 kB / 0.6573 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.2112, allocations: 58 kB / 0.6574 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2124, allocations: 0.6079 MB / 0.658 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2128, allocations: 0.7839 MB / 0.6587 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.2131, allocations: 102.2 kB / 0.6588 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2132, allocations: 23.44 kB / 0.6589 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2132, allocations: 4 kB / 0.6589 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of Templates: time 0.008761/0.2219, allocations: 4.834 MB / 0.6636 GB, free: 2.844 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)