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.001073/0.001073, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001029/0.001029, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7575/0.7575, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.05 kB / 0.5684 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1761, allocations: 77.93 MB / 0.6445 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00468/0.1808, allocations: 2.872 MB / 0.6473 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1838, allocations: 1.804 MB / 0.6491 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1839, allocations: 7.938 kB / 0.6491 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.1848, allocations: 233.8 kB / 0.6493 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.1853, allocations: 203 kB / 0.6495 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.1859, allocations: 223.5 kB / 0.6497 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.1863, allocations: 315 kB / 0.65 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.1867, allocations: 171 kB / 0.6502 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1869, allocations: 135.5 kB / 0.6503 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1872, allocations: 143.5 kB / 0.6505 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.1872, allocations: 20 kB / 0.6505 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.1877, allocations: 283.4 kB / 0.6508 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.1878, allocations: 79.8 kB / 0.6508 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1879, allocations: 123.3 kB / 0.651 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.1885, allocations: 438.4 kB / 0.6514 GB, free: 2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1885, allocations: 7.984 kB / 0.6514 GB, free: 1.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1885, allocations: 0 / 0.6514 GB, free: 1.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1885, allocations: 0 / 0.6514 GB, free: 1.992 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.0009659/0.1895, allocations: 0.5568 MB / 0.6519 GB, free: 1.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1896, allocations: 8.625 kB / 0.6519 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.1905, allocations: 116.7 kB / 0.652 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1908, allocations: 272.8 kB / 0.6523 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1909, allocations: 12.75 kB / 0.6523 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.1909, allocations: 16.38 kB / 0.6523 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.1916, allocations: 398.3 kB / 0.6527 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1916, allocations: 7.938 kB / 0.6527 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.1917, allocations: 4 kB / 0.6527 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.1917, allocations: 28.31 kB / 0.6528 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.1924, allocations: 340.6 kB / 0.6531 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1943, allocations: 1.736 MB / 0.6548 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.1951, allocations: 335 kB / 0.6551 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.1953, allocations: 149.6 kB / 0.6552 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.1955, allocations: 93.09 kB / 0.6553 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1955, allocations: 30.56 kB / 0.6554 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.1955, allocations: 0 / 0.6554 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.001398/0.1969, allocations: 0.5961 MB / 0.6559 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.197, allocations: 85.3 kB / 0.656 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.1973, allocations: 223.7 kB / 0.6562 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1974, allocations: 29.7 kB / 0.6563 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1975, allocations: 156.3 kB / 0.6564 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.1976, allocations: 83.3 kB / 0.6565 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1977, allocations: 57.94 kB / 0.6565 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1978, allocations: 330.8 kB / 0.6569 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.1981, allocations: 141.9 kB / 0.657 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.1985, allocations: 223.3 kB / 0.6572 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.1991, allocations: 365 kB / 0.6576 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1992, allocations: 8 kB / 0.6576 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009182/0.2001, allocations: 438.2 kB / 0.658 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2001, allocations: 8 kB / 0.658 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2001, allocations: 0 / 0.658 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.2004, allocations: 48.81 kB / 0.658 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2007, allocations: 67.88 kB / 0.6581 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.2022, allocations: 1.611 MB / 0.6597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2025, allocations: 47.89 kB / 0.6597 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.2026, allocations: 15.98 kB / 0.6597 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003679/0.203, allocations: 247.9 kB / 0.66 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003128/0.2033, allocations: 215.5 kB / 0.6602 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005665/0.2039, allocations: 354.8 kB / 0.6605 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/0.2039, allocations: 0 / 0.6605 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008462/0.2047, allocations: 420.6 kB / 0.6609 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2047, allocations: 5.562 kB / 0.6609 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2048, allocations: 4 kB / 0.6609 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.2049, allocations: 44.75 kB / 0.661 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.2052, allocations: 71.89 kB / 0.661 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.2066, allocations: 1.608 MB / 0.6626 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.2069, allocations: 43.92 kB / 0.6626 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2069, allocations: 11.98 kB / 0.6627 GB, free: 5.582 MB / 0.4981 GB 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.0001543/0.2071, allocations: 196.6 kB / 0.6628 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.2072, allocations: 23.84 kB / 0.6629 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/0.2079, allocations: 360 kB / 0.6632 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2079, allocations: 4 kB / 0.6632 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2079, allocations: 0 / 0.6632 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2079, allocations: 0 / 0.6632 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.2094, allocations: 0.9638 MB / 0.6642 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2094, allocations: 8.062 kB / 0.6642 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.2096, allocations: 55.89 kB / 0.6642 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.2098, allocations: 37.05 kB / 0.6643 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2098, allocations: 11.94 kB / 0.6643 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.211, allocations: 1.512 MB / 0.6657 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.211, allocations: 4.031 kB / 0.6657 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.2117, allocations: 0.5339 MB / 0.6663 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2119, allocations: 128.9 kB / 0.6664 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.2119, allocations: 11.88 kB / 0.6664 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.2122, allocations: 23.97 kB / 0.6664 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.2123, allocations: 23.97 kB / 0.6664 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2123, allocations: 4 kB / 0.6665 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001781/0.2125, allocations: 163 kB / 0.6666 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2125, allocations: 0 / 0.6666 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006107/0.2131, allocations: 108 kB / 0.6667 GB, free: 1.145 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.0001779/0.2133, allocations: 119.1 kB / 0.6668 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.2147, allocations: 0.7516 MB / 0.6676 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2148, allocations: 3.938 kB / 0.6676 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.2152, allocations: 278.5 kB / 0.6678 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.2157, allocations: 49.33 kB / 0.6679 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.2167, allocations: 0.5628 MB / 0.6684 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.2171, allocations: 0.76 MB / 0.6692 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002879/0.2174, allocations: 93.86 kB / 0.6693 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.2174, allocations: 27.44 kB / 0.6693 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of SimCode: time 7.02e-07/0.2175, allocations: 4 kB / 0.6693 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.008064/0.2255, allocations: 3.458 MB / 0.6727 GB, free: 10.93 MB / 0.5137 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)