Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 112 kB / 17.09 MB, free: 5.82 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.001785/0.001785, allocations: 193.6 kB / 18.02 MB, free: 4.961 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7444/0.7444, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.48 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1673, allocations: 76.18 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004813/0.1722, allocations: 3.058 MB / 0.6357 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1756, allocations: 1.909 MB / 0.6376 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1757, allocations: 7.938 kB / 0.6376 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009967/0.1767, allocations: 286.8 kB / 0.6379 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.1773, allocations: 187.2 kB / 0.638 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.178, allocations: 243.3 kB / 0.6383 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.1783, allocations: 326.9 kB / 0.6386 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.1787, allocations: 185 kB / 0.6388 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1789, allocations: 131.5 kB / 0.6389 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.1792, allocations: 151.5 kB / 0.639 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.1792, allocations: 20 kB / 0.639 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.1799, allocations: 411.1 kB / 0.6394 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.18, allocations: 87.78 kB / 0.6395 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1801, allocations: 115.4 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.1807, allocations: 490.6 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1807, allocations: 0 / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1807, allocations: 0 / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1807, allocations: 0 / 0.6401 GB, free: 12.86 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000891/0.1816, allocations: 0.5614 MB / 0.6406 GB, free: 12.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1817, allocations: 8.031 kB / 0.6407 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.1825, allocations: 104.5 kB / 0.6408 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1828, allocations: 265.2 kB / 0.641 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1829, allocations: 20.75 kB / 0.641 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.1829, allocations: 20.38 kB / 0.641 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.1835, allocations: 357.5 kB / 0.6414 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1835, allocations: 0 / 0.6414 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.1835, allocations: 11.94 kB / 0.6414 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.1836, allocations: 24.42 kB / 0.6414 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.184, allocations: 289.5 kB / 0.6417 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1861, allocations: 1.729 MB / 0.6434 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.1866, allocations: 334 kB / 0.6437 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1868, allocations: 101.7 kB / 0.6438 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.1869, allocations: 93.03 kB / 0.6439 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.187, allocations: 42.5 kB / 0.6439 GB, free: 8.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.187, allocations: 0 / 0.6439 GB, free: 8.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002443/0.1894, allocations: 0.964 MB / 0.6449 GB, free: 7.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1895, allocations: 77.11 kB / 0.6449 GB, free: 7.492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1897, allocations: 219.7 kB / 0.6452 GB, free: 7.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1897, allocations: 29.8 kB / 0.6452 GB, free: 7.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1898, allocations: 179.9 kB / 0.6454 GB, free: 7.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.1899, allocations: 82.94 kB / 0.6454 GB, free: 6.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.19, allocations: 61.61 kB / 0.6455 GB, free: 6.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1902, allocations: 334.8 kB / 0.6458 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.1904, allocations: 131.9 kB / 0.6459 GB, free: 6.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.1906, allocations: 202.6 kB / 0.6461 GB, free: 6.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.1911, allocations: 368.7 kB / 0.6465 GB, free: 5.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1911, allocations: 0 / 0.6465 GB, free: 5.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008473/0.1919, allocations: 0.5043 MB / 0.647 GB, free: 5.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.192, allocations: 11.98 kB / 0.647 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.192, allocations: 0 / 0.647 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.1925, allocations: 155.4 kB / 0.6471 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.1928, allocations: 55.91 kB / 0.6472 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.196, allocations: 4.202 MB / 0.6513 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1962, allocations: 23.91 kB / 0.6513 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1963, allocations: 16 kB / 0.6513 GB, free: 496 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.1965, allocations: 163.2 kB / 0.6515 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.1966, allocations: 19.81 kB / 0.6515 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.1975, allocations: 469.9 kB / 0.652 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1975, allocations: 7.984 kB / 0.652 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1975, allocations: 0 / 0.652 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1976, allocations: 124.8 kB / 0.6521 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1977, allocations: 12 kB / 0.6521 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1979, allocations: 19.92 kB / 0.6521 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1979, allocations: 19.97 kB / 0.6521 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009844/0.1989, allocations: 0.6202 MB / 0.6527 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007665/0.1997, allocations: 0.7224 MB / 0.6534 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001895/0.1999, allocations: 147.8 kB / 0.6536 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001456/0.2, allocations: 160.2 kB / 0.6537 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of Backend: time 3e-07/0.2001, allocations: 0 / 0.6537 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.2016, allocations: 0.7304 MB / 0.6544 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001196/0.2029, allocations: 0.9917 MB / 0.6554 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01036/0.2132, allocations: 5.678 MB / 0.661 GB, free: 6.496 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)