Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001084, allocations: 115.3 kB / 17.08 MB, free: 5.98 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.001042/0.001042, allocations: 200.2 kB / 18.02 MB, free: 5.055 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.257/1.257, 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.7072/0.7072, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 66.02 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1297, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003932/0.1337, allocations: 2.865 MB / 0.6355 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1362, allocations: 1.816 MB / 0.6373 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1364, allocations: 4 kB / 0.6373 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007232/0.1371, allocations: 234.9 kB / 0.6375 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1375, allocations: 203.1 kB / 0.6377 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.138, allocations: 231.4 kB / 0.6379 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.1383, allocations: 311 kB / 0.6382 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.1386, allocations: 166.4 kB / 0.6384 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1387, allocations: 131.5 kB / 0.6385 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.139, allocations: 147.5 kB / 0.6387 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.139, allocations: 20 kB / 0.6387 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.1394, allocations: 283.4 kB / 0.6389 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.1395, allocations: 83.78 kB / 0.639 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1396, allocations: 115.4 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.1401, allocations: 446.6 kB / 0.6396 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1401, allocations: 0 / 0.6396 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1401, allocations: 0 / 0.6396 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1401, allocations: 0 / 0.6396 GB, free: 13.36 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008202/0.1409, allocations: 0.5457 MB / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.141, allocations: 8.031 kB / 0.6401 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.1418, allocations: 116.5 kB / 0.6402 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1422, allocations: 267.8 kB / 0.6405 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1422, allocations: 12.75 kB / 0.6405 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.1422, allocations: 20.36 kB / 0.6405 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.1428, allocations: 390.3 kB / 0.6409 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1429, allocations: 7.906 kB / 0.6409 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1429, allocations: 7.984 kB / 0.6409 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.1429, allocations: 28.31 kB / 0.6409 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.1436, allocations: 344.6 kB / 0.6412 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.1453, allocations: 1.732 MB / 0.6429 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.146, allocations: 323.2 kB / 0.6432 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.1462, allocations: 161.5 kB / 0.6434 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.1464, allocations: 89.11 kB / 0.6435 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1464, allocations: 38.55 kB / 0.6435 GB, free: 9.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.1464, allocations: 0 / 0.6435 GB, free: 9.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001271/0.1477, allocations: 0.5919 MB / 0.6441 GB, free: 8.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1477, allocations: 85.05 kB / 0.6442 GB, free: 8.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.148, allocations: 215.8 kB / 0.6444 GB, free: 8.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.148, allocations: 29.7 kB / 0.6444 GB, free: 8.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1481, allocations: 163.8 kB / 0.6446 GB, free: 7.859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.1482, allocations: 71 kB / 0.6446 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.1483, allocations: 61.88 kB / 0.6447 GB, free: 7.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1484, allocations: 330.8 kB / 0.645 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1487, allocations: 141.9 kB / 0.6451 GB, free: 7.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.149, allocations: 223.2 kB / 0.6454 GB, free: 6.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.1496, allocations: 379.2 kB / 0.6457 GB, free: 6.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1496, allocations: 4 kB / 0.6457 GB, free: 6.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008095/0.1504, allocations: 431.6 kB / 0.6461 GB, free: 6.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1504, allocations: 8 kB / 0.6461 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1504, allocations: 3.984 kB / 0.6461 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.1506, allocations: 40.83 kB / 0.6462 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.1509, allocations: 67.88 kB / 0.6462 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.1523, allocations: 1.619 MB / 0.6478 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1526, allocations: 40.05 kB / 0.6479 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1527, allocations: 12 kB / 0.6479 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003896/0.1531, allocations: 243.9 kB / 0.6481 GB, free: 3.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003163/0.1534, allocations: 219 kB / 0.6483 GB, free: 3.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000556/0.154, allocations: 349.1 kB / 0.6487 GB, free: 3.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.154, allocations: 0 / 0.6487 GB, free: 3.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008002/0.1548, allocations: 425.8 kB / 0.6491 GB, free: 2.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.1548, allocations: 5.406 kB / 0.6491 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1548, allocations: 4 kB / 0.6491 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.155, allocations: 40.81 kB / 0.6491 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1553, allocations: 72.14 kB / 0.6492 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1566, allocations: 1.623 MB / 0.6508 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1569, allocations: 31.88 kB / 0.6508 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1569, allocations: 8 kB / 0.6508 GB, free: 0.9883 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001458/0.1571, allocations: 196.1 kB / 0.651 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1572, allocations: 23.75 kB / 0.651 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.1578, allocations: 360.9 kB / 0.6513 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1578, allocations: 4 kB / 0.6514 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1578, allocations: 0 / 0.6514 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1578, allocations: 3.984 kB / 0.6514 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.1592, allocations: 0.9585 MB / 0.6523 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1592, allocations: 4 kB / 0.6523 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.1594, allocations: 55.83 kB / 0.6524 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.1595, allocations: 37.05 kB / 0.6524 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1595, allocations: 8 kB / 0.6524 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1606, allocations: 1.516 MB / 0.6539 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1606, allocations: 4.031 kB / 0.6539 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.1612, allocations: 0.5365 MB / 0.6544 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.1613, allocations: 124.8 kB / 0.6545 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.1614, allocations: 15.92 kB / 0.6545 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1616, allocations: 19.97 kB / 0.6546 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.1617, allocations: 19.98 kB / 0.6546 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1617, allocations: 8 kB / 0.6546 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001652/0.1619, allocations: 166.9 kB / 0.6547 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1619, allocations: 0 / 0.6547 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005569/0.1625, allocations: 112 kB / 0.6548 GB, free: 12.55 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001368/0.1626, allocations: 111.2 kB / 0.655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.1639, allocations: 0.7643 MB / 0.6557 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1639, allocations: 0 / 0.6557 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.1643, allocations: 271.4 kB / 0.656 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.1648, allocations: 35.92 kB / 0.656 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.1657, allocations: 0.5925 MB / 0.6566 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.166, allocations: 0.7716 MB / 0.6573 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/0.1661, allocations: 23.44 kB / 0.6573 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1661, allocations: 4 kB / 0.6574 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of Templates: time 0.0057/0.1718, allocations: 4.323 MB / 0.6616 GB, free: 5.539 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)