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.001049/0.001049, allocations: 101 kB / 16.4 MB, free: 6.449 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.001047/0.001047, 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.254/1.254, 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.6888/0.6888, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 69.25 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1256, allocations: 76.19 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004213/0.1299, allocations: 2.863 MB / 0.6349 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.1328, allocations: 1.816 MB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1329, allocations: 4 kB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.1337, allocations: 234.9 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.1342, allocations: 207.1 kB / 0.6371 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1346, allocations: 223.4 kB / 0.6373 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1349, allocations: 311 kB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.1353, allocations: 182.9 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1355, allocations: 127.5 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1357, allocations: 143.5 kB / 0.638 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.1358, allocations: 20 kB / 0.638 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.1362, allocations: 287.4 kB / 0.6383 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.1363, allocations: 83.8 kB / 0.6384 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1364, allocations: 119.4 kB / 0.6385 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.1369, allocations: 438.6 kB / 0.6389 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1369, allocations: 0 / 0.6389 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1369, allocations: 0 / 0.6389 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1369, allocations: 0 / 0.6389 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.000841/0.1378, allocations: 0.5496 MB / 0.6394 GB, free: 12.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1378, allocations: 8.031 kB / 0.6395 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/0.1387, allocations: 112.5 kB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1389, allocations: 259.4 kB / 0.6398 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.139, allocations: 12.73 kB / 0.6398 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.139, allocations: 24.38 kB / 0.6398 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.1396, allocations: 394.2 kB / 0.6402 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1397, allocations: 3.906 kB / 0.6402 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.1397, allocations: 8 kB / 0.6402 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.1397, allocations: 32.3 kB / 0.6403 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.1404, allocations: 336.6 kB / 0.6406 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1422, allocations: 1.736 MB / 0.6423 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.1429, allocations: 329 kB / 0.6426 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.1432, allocations: 153.6 kB / 0.6427 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.1433, allocations: 89.08 kB / 0.6428 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1434, allocations: 38.56 kB / 0.6429 GB, free: 9.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.1434, allocations: 0 / 0.6429 GB, free: 9.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001289/0.1447, allocations: 0.5971 MB / 0.6434 GB, free: 8.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1447, allocations: 85.11 kB / 0.6435 GB, free: 8.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.145, allocations: 207.8 kB / 0.6437 GB, free: 8.062 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.145, allocations: 29.7 kB / 0.6437 GB, free: 8.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.1451, allocations: 163.8 kB / 0.6439 GB, free: 7.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.1451, allocations: 75 kB / 0.644 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1453, allocations: 61.88 kB / 0.644 GB, free: 7.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.1454, allocations: 330.8 kB / 0.6444 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.1457, allocations: 149.8 kB / 0.6445 GB, free: 7.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.146, allocations: 223.2 kB / 0.6447 GB, free: 6.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.1465, allocations: 370 kB / 0.6451 GB, free: 6.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1466, allocations: 0 / 0.6451 GB, free: 6.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008324/0.1474, allocations: 439 kB / 0.6455 GB, free: 6.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1474, allocations: 9.875 kB / 0.6455 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1474, allocations: 4 kB / 0.6455 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1477, allocations: 36.83 kB / 0.6455 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.148, allocations: 76.09 kB / 0.6456 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.1493, allocations: 1.615 MB / 0.6472 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.1496, allocations: 31.95 kB / 0.6472 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1496, allocations: 12 kB / 0.6472 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003439/0.15, allocations: 244 kB / 0.6475 GB, free: 3.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003013/0.1503, allocations: 211.1 kB / 0.6477 GB, free: 3.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005243/0.1508, allocations: 357 kB / 0.648 GB, free: 3.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.1508, allocations: 0 / 0.648 GB, free: 3.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007828/0.1516, allocations: 425.9 kB / 0.6484 GB, free: 2.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.1517, allocations: 8 kB / 0.6484 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.1517, allocations: 0 / 0.6484 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.1518, allocations: 49.19 kB / 0.6485 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1521, allocations: 71.88 kB / 0.6485 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.1533, allocations: 1.611 MB / 0.6501 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.1536, allocations: 31.88 kB / 0.6501 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1536, allocations: 12 kB / 0.6501 GB, free: 0.9922 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.0001123/0.1538, allocations: 196.1 kB / 0.6503 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.1538, allocations: 27.8 kB / 0.6504 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.1545, allocations: 363.2 kB / 0.6507 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1545, allocations: 0 / 0.6507 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1545, allocations: 4 kB / 0.6507 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1545, allocations: 0 / 0.6507 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.1559, allocations: 0.9598 MB / 0.6516 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1559, allocations: 0 / 0.6516 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.1561, allocations: 60.05 kB / 0.6517 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.1562, allocations: 36.83 kB / 0.6517 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1562, allocations: 4 kB / 0.6517 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.1573, allocations: 1.52 MB / 0.6532 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1573, allocations: 0 / 0.6532 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.1579, allocations: 0.5406 MB / 0.6537 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.158, allocations: 120.8 kB / 0.6539 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.1581, allocations: 15.94 kB / 0.6539 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.1583, allocations: 23.97 kB / 0.6539 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.1584, allocations: 19.91 kB / 0.6539 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1584, allocations: 15.94 kB / 0.6539 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001678/0.1586, allocations: 163 kB / 0.6541 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1586, allocations: 0 / 0.6541 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005585/0.1592, allocations: 112 kB / 0.6542 GB, free: 12.54 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.0001292/0.1593, allocations: 99.25 kB / 0.6543 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.1606, allocations: 0.7634 MB / 0.655 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1607, allocations: 0 / 0.655 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.1611, allocations: 275.8 kB / 0.6553 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.0004522/0.1615, allocations: 31.98 kB / 0.6553 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.1625, allocations: 0.5507 MB / 0.6559 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1628, allocations: 0.7716 MB / 0.6566 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002579/0.1631, allocations: 102 kB / 0.6567 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.1632, allocations: 23.42 kB / 0.6567 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1632, allocations: 0 / 0.6567 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.006724/0.1699, allocations: 3.472 MB / 0.6601 GB, free: 6.355 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)