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.000761/0.0007609, allocations: 92.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009555/0.0009554, allocations: 176.9 kB / 16.92 MB, free: 6.68 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.398/1.398, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7243/0.7243, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 8 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 77.53 MB / 0.56 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004259/0.1882, allocations: 2.572 MB / 0.5625 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.1915, allocations: 1.785 MB / 0.5642 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1916, allocations: 4 kB / 0.5642 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1918, allocations: 35.7 kB / 0.5642 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.1923, allocations: 183.3 kB / 0.5644 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1927, allocations: 211.5 kB / 0.5646 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1932, allocations: 434.8 kB / 0.565 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007622/0.194, allocations: 375 kB / 0.5654 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1942, allocations: 99.56 kB / 0.5655 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1945, allocations: 139.5 kB / 0.5656 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1945, allocations: 15.94 kB / 0.5656 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.195, allocations: 339.3 kB / 0.566 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.1951, allocations: 67.8 kB / 0.566 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1952, allocations: 129.2 kB / 0.5662 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.1958, allocations: 438.8 kB / 0.5666 GB, free: 2.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1958, allocations: 4 kB / 0.5666 GB, free: 2.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1958, allocations: 0 / 0.5666 GB, free: 2.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1958, allocations: 0 / 0.5666 GB, free: 2.199 MB / 430.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.0008738/0.1967, allocations: 0.5145 MB / 0.5671 GB, free: 1.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1967, allocations: 12.03 kB / 0.5671 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.1977, allocations: 112.5 kB / 0.5672 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.198, allocations: 259.8 kB / 0.5674 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.198, allocations: 16.73 kB / 0.5675 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.1981, allocations: 16.38 kB / 0.5675 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.1989, allocations: 394.5 kB / 0.5679 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1989, allocations: 7.906 kB / 0.5679 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.1989, allocations: 4 kB / 0.5679 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.199, allocations: 24.31 kB / 0.5679 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.1997, allocations: 356.6 kB / 0.5682 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.202, allocations: 1.736 MB / 0.5699 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.2027, allocations: 343.5 kB / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.2031, allocations: 157.6 kB / 0.5704 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.2032, allocations: 93.08 kB / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2033, allocations: 38.5 kB / 0.5705 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.2033, allocations: 3.938 kB / 0.5705 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001409/0.2047, allocations: 0.6092 MB / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.2048, allocations: 81.11 kB / 0.5712 GB, free: 13.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2051, allocations: 216.4 kB / 0.5714 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.2051, allocations: 33.7 kB / 0.5714 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2052, allocations: 159.8 kB / 0.5716 GB, free: 12.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.2053, allocations: 75 kB / 0.5717 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.2054, allocations: 25.72 kB / 0.5717 GB, free: 12.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2055, allocations: 330.8 kB / 0.572 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.2058, allocations: 140.5 kB / 0.5721 GB, free: 12.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.2062, allocations: 227.3 kB / 0.5724 GB, free: 11.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/0.2068, allocations: 381.9 kB / 0.5727 GB, free: 11.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2068, allocations: 0 / 0.5727 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009137/0.2078, allocations: 455.2 kB / 0.5732 GB, free: 10.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.2079, allocations: 170.7 kB / 0.5733 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2079, allocations: 4 kB / 0.5733 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.2082, allocations: 40.83 kB / 0.5734 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.2085, allocations: 75.88 kB / 0.5734 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.2102, allocations: 1.489 MB / 0.5749 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.2105, allocations: 48.05 kB / 0.5749 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2106, allocations: 8 kB / 0.5749 GB, free: 8.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.2106, allocations: 4 kB / 0.5749 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008363/0.2114, allocations: 390.2 kB / 0.5753 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2114, allocations: 7.938 kB / 0.5753 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.2116, allocations: 41.12 kB / 0.5754 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.2119, allocations: 79.88 kB / 0.5754 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.2135, allocations: 1.485 MB / 0.5769 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2137, allocations: 35.91 kB / 0.5769 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2138, allocations: 8 kB / 0.5769 GB, free: 6.797 MB / 446.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.0002166/0.214, allocations: 236.9 kB / 0.5772 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.214, allocations: 19.72 kB / 0.5772 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.2148, allocations: 365.9 kB / 0.5775 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2148, allocations: 4 kB / 0.5775 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2148, allocations: 4 kB / 0.5775 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2149, allocations: 3.938 kB / 0.5775 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2164, allocations: 0.9676 MB / 0.5785 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2164, allocations: 4 kB / 0.5785 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.2166, allocations: 55.89 kB / 0.5785 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.2168, allocations: 41.05 kB / 0.5786 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.2168, allocations: 8 kB / 0.5786 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.2179, allocations: 1.402 MB / 0.58 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2179, allocations: 8 kB / 0.58 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.2187, allocations: 0.5502 MB / 0.5805 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2188, allocations: 132.7 kB / 0.5806 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.2189, allocations: 8 kB / 0.5806 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.2191, allocations: 35.91 kB / 0.5807 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.2192, allocations: 23.91 kB / 0.5807 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.2192, allocations: 8 kB / 0.5807 GB, free: 2.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.2194, allocations: 166.8 kB / 0.5809 GB, free: 2.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2194, allocations: 0 / 0.5809 GB, free: 2.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005855/0.22, allocations: 108 kB / 0.581 GB, free: 2.383 MB / 446.1 MB 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.0001738/0.2202, allocations: 111.2 kB / 0.5811 GB, free: 2.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2217, allocations: 0.7481 MB / 0.5818 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2217, allocations: 4.062 kB / 0.5818 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.2221, allocations: 274.5 kB / 0.5821 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.2227, allocations: 33.86 kB / 0.5821 GB, free: 1.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2237, allocations: 0.6639 MB / 0.5827 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.309/0.5327, allocations: 0.7624 MB / 0.5835 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000436/0.5332, allocations: 95.69 kB / 0.5836 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5333, allocations: 22.55 kB / 0.5836 GB, free: 29.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5333, allocations: 1.859 kB / 0.5836 GB, free: 29.64 MB / 446.1 MB Notification: Performance of Templates: time 0.00827/0.5416, allocations: 3.167 MB / 0.5867 GB, free: 29.58 MB / 446.1 MB 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)