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.001482/0.001482, allocations: 104.6 kB / 16.4 MB, free: 6.445 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.001317/0.001317, allocations: 196 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.482/1.482, allocations: 222.9 MB / 241 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.7284/0.7284, allocations: 115.3 MB / 406.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 62.23 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1814, allocations: 76.18 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005219/0.1867, allocations: 3.055 MB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1899, allocations: 1.905 MB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1901, allocations: 11.94 kB / 0.6369 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000961/0.1911, allocations: 285 kB / 0.6372 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.1916, allocations: 195.1 kB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1922, allocations: 255.2 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1926, allocations: 318.9 kB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.1929, allocations: 181 kB / 0.6381 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1931, allocations: 139.5 kB / 0.6382 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1934, allocations: 147.4 kB / 0.6384 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.1934, allocations: 20 kB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.194, allocations: 403.2 kB / 0.6388 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1941, allocations: 87.72 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1943, allocations: 119.4 kB / 0.639 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.1949, allocations: 482.7 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1949, allocations: 3.938 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1949, allocations: 4 kB / 0.6394 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1949, allocations: 0 / 0.6394 GB, free: 12.81 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.0008778/0.1958, allocations: 0.5575 MB / 0.64 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1959, allocations: 16.02 kB / 0.64 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007811/0.1966, allocations: 104.5 kB / 0.6401 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.197, allocations: 269.9 kB / 0.6403 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.197, allocations: 16.81 kB / 0.6404 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.1971, allocations: 16.38 kB / 0.6404 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.1976, allocations: 353.4 kB / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1976, allocations: 4 kB / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.1977, allocations: 4 kB / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/0.1977, allocations: 32.42 kB / 0.6408 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.1981, allocations: 301.4 kB / 0.641 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.2002, allocations: 1.726 MB / 0.6427 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.2007, allocations: 334 kB / 0.643 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2008, allocations: 101.7 kB / 0.6431 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2009, allocations: 93.03 kB / 0.6432 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.201, allocations: 34.66 kB / 0.6433 GB, free: 8.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.201, allocations: 3.938 kB / 0.6433 GB, free: 8.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002419/0.2034, allocations: 0.9573 MB / 0.6442 GB, free: 7.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2035, allocations: 85.05 kB / 0.6443 GB, free: 7.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.2037, allocations: 215.7 kB / 0.6445 GB, free: 7.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2037, allocations: 29.7 kB / 0.6445 GB, free: 7.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.2038, allocations: 172.1 kB / 0.6447 GB, free: 7.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.2039, allocations: 82.91 kB / 0.6448 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.204, allocations: 65.59 kB / 0.6448 GB, free: 6.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2041, allocations: 326.8 kB / 0.6451 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.2043, allocations: 131.9 kB / 0.6453 GB, free: 6.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2046, allocations: 214.5 kB / 0.6455 GB, free: 6.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.205, allocations: 360.7 kB / 0.6458 GB, free: 5.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2051, allocations: 4 kB / 0.6458 GB, free: 5.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007888/0.2059, allocations: 0.5119 MB / 0.6463 GB, free: 5.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2059, allocations: 4 kB / 0.6463 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2059, allocations: 4 kB / 0.6463 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005043/0.2064, allocations: 159.6 kB / 0.6465 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2067, allocations: 59.91 kB / 0.6465 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.2099, allocations: 4.19 MB / 0.6506 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.2101, allocations: 19.92 kB / 0.6506 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.2101, allocations: 16 kB / 0.6507 GB, free: 452 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.0001791/0.2103, allocations: 161.8 kB / 0.6508 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.2103, allocations: 19.81 kB / 0.6508 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008696/0.2112, allocations: 481.9 kB / 0.6513 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2112, allocations: 4 kB / 0.6513 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2112, allocations: 4 kB / 0.6513 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2113, allocations: 0 / 0.6513 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.2128, allocations: 1.009 MB / 0.6523 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2128, allocations: 7.984 kB / 0.6523 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.2129, allocations: 27.98 kB / 0.6523 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.2133, allocations: 139.5 kB / 0.6524 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2134, allocations: 15.98 kB / 0.6525 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.216, allocations: 4.151 MB / 0.6565 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2161, allocations: 8.125 kB / 0.6565 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.2168, allocations: 0.6177 MB / 0.6571 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.217, allocations: 120.8 kB / 0.6572 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.217, allocations: 19.78 kB / 0.6573 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2172, allocations: 19.98 kB / 0.6573 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2173, allocations: 23.97 kB / 0.6573 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2173, allocations: 8 kB / 0.6573 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001492/0.2175, allocations: 156.2 kB / 0.6575 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2175, allocations: 3.938 kB / 0.6575 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005132/0.218, allocations: 95.92 kB / 0.6576 GB, free: 8.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002289/0.2182, allocations: 137.5 kB / 0.6577 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009547/0.2192, allocations: 0.5819 MB / 0.6583 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2192, allocations: 4.062 kB / 0.6583 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.2197, allocations: 399 kB / 0.6586 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2202, allocations: 47.97 kB / 0.6587 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.2212, allocations: 0.6307 MB / 0.6593 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2215, allocations: 0.7753 MB / 0.6601 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.2217, allocations: 62.23 kB / 0.6601 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.2217, allocations: 19.44 kB / 0.6601 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2217, allocations: 0 / 0.6601 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.008081/0.2298, allocations: 4.216 MB / 0.6643 GB, free: 1.875 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)