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.001595/0.001595, allocations: 112.6 kB / 17.08 MB, free: 5.785 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.00179/0.00179, allocations: 200.2 kB / 18.02 MB, free: 4.918 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.406/1.406, allocations: 222.9 MB / 241.7 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.8175/0.8175, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.56 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.173, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004996/0.1781, allocations: 2.871 MB / 0.6355 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1813, allocations: 1.808 MB / 0.6373 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1815, allocations: 4 kB / 0.6373 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.1825, allocations: 238.9 kB / 0.6375 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.1831, allocations: 195.1 kB / 0.6377 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.1838, allocations: 233.6 kB / 0.6379 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.1843, allocations: 307 kB / 0.6382 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.1847, allocations: 178.3 kB / 0.6384 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.185, allocations: 131.5 kB / 0.6385 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.1853, allocations: 155.5 kB / 0.6387 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.1854, allocations: 20 kB / 0.6387 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.1859, allocations: 283.4 kB / 0.639 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1861, allocations: 79.8 kB / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1862, allocations: 119.4 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.1869, allocations: 438.6 kB / 0.6396 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1869, allocations: 0 / 0.6396 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1869, allocations: 0 / 0.6396 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.187, allocations: 0 / 0.6396 GB, free: 13.38 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.001098/0.1881, allocations: 0.5496 MB / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1881, allocations: 12.03 kB / 0.6401 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1891, allocations: 108.5 kB / 0.6402 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1895, allocations: 260.5 kB / 0.6405 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1896, allocations: 20.73 kB / 0.6405 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.1896, allocations: 16.38 kB / 0.6405 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.1904, allocations: 394.3 kB / 0.6409 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1904, allocations: 7.906 kB / 0.6409 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1904, allocations: 4 kB / 0.6409 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.1905, allocations: 28.31 kB / 0.6409 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.1912, allocations: 336.6 kB / 0.6412 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.1933, allocations: 1.736 MB / 0.6429 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.194, allocations: 325.1 kB / 0.6432 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.1943, allocations: 157.6 kB / 0.6434 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.1945, allocations: 93.08 kB / 0.6435 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1945, allocations: 34.56 kB / 0.6435 GB, free: 9.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.893e-06/0.1945, allocations: 4 kB / 0.6435 GB, free: 9.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001461/0.196, allocations: 0.5932 MB / 0.6441 GB, free: 8.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.196, allocations: 89.05 kB / 0.6442 GB, free: 8.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1963, allocations: 212 kB / 0.6444 GB, free: 8.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1964, allocations: 37.64 kB / 0.6444 GB, free: 8.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1965, allocations: 159.8 kB / 0.6446 GB, free: 7.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.1965, allocations: 74.98 kB / 0.6446 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1967, allocations: 57.89 kB / 0.6447 GB, free: 7.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1968, allocations: 330.8 kB / 0.645 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.1971, allocations: 141.9 kB / 0.6451 GB, free: 7.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.1975, allocations: 219.3 kB / 0.6454 GB, free: 7.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.1981, allocations: 371 kB / 0.6457 GB, free: 6.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1982, allocations: 4 kB / 0.6457 GB, free: 6.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009057/0.1991, allocations: 434.8 kB / 0.6461 GB, free: 6.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1991, allocations: 4 kB / 0.6461 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1991, allocations: 4 kB / 0.6461 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.1994, allocations: 53.19 kB / 0.6462 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1997, allocations: 71.88 kB / 0.6463 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.2013, allocations: 1.611 MB / 0.6478 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.2016, allocations: 32 kB / 0.6479 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2017, allocations: 15.98 kB / 0.6479 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003832/0.2021, allocations: 247.1 kB / 0.6481 GB, free: 3.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003464/0.2024, allocations: 211 kB / 0.6483 GB, free: 3.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005715/0.203, allocations: 356.9 kB / 0.6487 GB, free: 3.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.203, allocations: 0 / 0.6487 GB, free: 3.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008426/0.2039, allocations: 421.7 kB / 0.6491 GB, free: 2.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.2039, allocations: 4.375 kB / 0.6491 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2039, allocations: 8 kB / 0.6491 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.204, allocations: 40.81 kB / 0.6491 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.2044, allocations: 71.89 kB / 0.6492 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.2057, allocations: 1.615 MB / 0.6507 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.206, allocations: 31.88 kB / 0.6508 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.206, allocations: 11.98 kB / 0.6508 GB, free: 1.008 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.0001461/0.2062, allocations: 200.2 kB / 0.651 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.2063, allocations: 23.75 kB / 0.651 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.207, allocations: 352.8 kB / 0.6513 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.207, allocations: 8 kB / 0.6513 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.207, allocations: 0 / 0.6513 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.207, allocations: 3.984 kB / 0.6514 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.2085, allocations: 0.9599 MB / 0.6523 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2086, allocations: 4 kB / 0.6523 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2088, allocations: 55.83 kB / 0.6523 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.209, allocations: 32.83 kB / 0.6524 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.209, allocations: 8 kB / 0.6524 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.2101, allocations: 1.52 MB / 0.6539 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2101, allocations: 4.031 kB / 0.6539 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.2109, allocations: 0.5405 MB / 0.6544 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.211, allocations: 128.8 kB / 0.6545 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.2111, allocations: 7.938 kB / 0.6545 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.2113, allocations: 23.95 kB / 0.6546 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.2114, allocations: 19.98 kB / 0.6546 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2114, allocations: 8 kB / 0.6546 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001896/0.2116, allocations: 163 kB / 0.6547 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2116, allocations: 0 / 0.6547 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000659/0.2123, allocations: 108 kB / 0.6548 GB, free: 12.57 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.0001635/0.2125, allocations: 111.2 kB / 0.6549 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.214, allocations: 0.7587 MB / 0.6557 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.214, allocations: 8 kB / 0.6557 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.2145, allocations: 274.4 kB / 0.656 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.2149, allocations: 35.77 kB / 0.656 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.216, allocations: 0.5851 MB / 0.6566 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.2163, allocations: 0.7794 MB / 0.6573 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2165, allocations: 23.44 kB / 0.6573 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2165, allocations: 0 / 0.6573 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.006994/0.2235, allocations: 4.331 MB / 0.6616 GB, free: 5.547 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)