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.001087/0.001087, allocations: 106 kB / 16.4 MB, free: 6.504 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.001108/0.001108, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.428/1.428, allocations: 222.9 MB / 241 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.8142/0.8142, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001188, allocations: 64.97 kB / 0.5577 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1702, allocations: 76.18 MB / 0.6321 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005411/0.1756, allocations: 2.867 MB / 0.6349 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1791, allocations: 1.812 MB / 0.6366 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1794, allocations: 4 kB / 0.6366 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1804, allocations: 241.6 kB / 0.6369 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007104/0.1812, allocations: 199.1 kB / 0.6371 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.1819, allocations: 231.4 kB / 0.6373 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000516/0.1824, allocations: 318.9 kB / 0.6376 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.1828, allocations: 166.4 kB / 0.6377 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1831, allocations: 135.5 kB / 0.6379 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.1835, allocations: 143.5 kB / 0.638 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.1835, allocations: 20 kB / 0.638 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.1841, allocations: 283.5 kB / 0.6383 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1842, allocations: 79.8 kB / 0.6384 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1843, allocations: 123.4 kB / 0.6385 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007312/0.1851, allocations: 438.6 kB / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1851, allocations: 0 / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1851, allocations: 0 / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1851, allocations: 0 / 0.6389 GB, free: 13.42 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.001075/0.1862, allocations: 0.5496 MB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1862, allocations: 8.031 kB / 0.6394 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1873, allocations: 116.5 kB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.1877, allocations: 263.4 kB / 0.6398 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1877, allocations: 12.75 kB / 0.6398 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.1878, allocations: 16.38 kB / 0.6398 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.1885, allocations: 402.3 kB / 0.6402 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1885, allocations: 3.906 kB / 0.6402 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.1886, allocations: 8 kB / 0.6402 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.1886, allocations: 28.3 kB / 0.6403 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.1894, allocations: 336.6 kB / 0.6406 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.1917, allocations: 1.736 MB / 0.6423 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.1925, allocations: 329 kB / 0.6426 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.1928, allocations: 149.6 kB / 0.6427 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.193, allocations: 93.09 kB / 0.6428 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.193, allocations: 38.5 kB / 0.6429 GB, free: 9.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.193, allocations: 4 kB / 0.6429 GB, free: 9.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001533/0.1946, allocations: 0.5974 MB / 0.6434 GB, free: 8.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.1946, allocations: 85.11 kB / 0.6435 GB, free: 8.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.195, allocations: 207.8 kB / 0.6437 GB, free: 8.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.195, allocations: 29.7 kB / 0.6438 GB, free: 8.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1951, allocations: 163.8 kB / 0.6439 GB, free: 7.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.1952, allocations: 74.98 kB / 0.644 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1953, allocations: 61.88 kB / 0.644 GB, free: 7.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1955, allocations: 330.8 kB / 0.6444 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.1958, allocations: 137.9 kB / 0.6445 GB, free: 7.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.1962, allocations: 223.3 kB / 0.6447 GB, free: 7.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.1969, allocations: 379.4 kB / 0.6451 GB, free: 6.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.197, allocations: 0 / 0.6451 GB, free: 6.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009546/0.1979, allocations: 437.9 kB / 0.6455 GB, free: 6.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.198, allocations: 8 kB / 0.6455 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.198, allocations: 0 / 0.6455 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.1983, allocations: 44.83 kB / 0.6455 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1986, allocations: 71.88 kB / 0.6456 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.2002, allocations: 1.615 MB / 0.6472 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.2006, allocations: 36.02 kB / 0.6472 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.2006, allocations: 12 kB / 0.6472 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004172/0.201, allocations: 244 kB / 0.6475 GB, free: 4.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003397/0.2014, allocations: 211 kB / 0.6477 GB, free: 3.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005923/0.202, allocations: 356.7 kB / 0.648 GB, free: 3.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.202, allocations: 0 / 0.648 GB, free: 3.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000912/0.2029, allocations: 422.5 kB / 0.6484 GB, free: 2.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2029, allocations: 7.984 kB / 0.6484 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2029, allocations: 7.984 kB / 0.6484 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.2031, allocations: 40.83 kB / 0.6485 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.2034, allocations: 76.12 kB / 0.6485 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2048, allocations: 1.611 MB / 0.6501 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.2051, allocations: 35.88 kB / 0.6501 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2052, allocations: 8 kB / 0.6501 GB, free: 1.047 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.0001555/0.2053, allocations: 200.1 kB / 0.6503 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.2054, allocations: 19.75 kB / 0.6504 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.2061, allocations: 362.4 kB / 0.6507 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2061, allocations: 4 kB / 0.6507 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2062, allocations: 0 / 0.6507 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.2062, allocations: 4 kB / 0.6507 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.2077, allocations: 0.9561 MB / 0.6516 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2077, allocations: 4 kB / 0.6516 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.208, allocations: 59.83 kB / 0.6517 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.2081, allocations: 37.05 kB / 0.6517 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.2081, allocations: 8 kB / 0.6517 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.2094, allocations: 1.512 MB / 0.6532 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2094, allocations: 4.031 kB / 0.6532 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.2101, allocations: 0.5403 MB / 0.6537 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.2103, allocations: 128.8 kB / 0.6539 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.2103, allocations: 7.938 kB / 0.6539 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.2106, allocations: 27.97 kB / 0.6539 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.2107, allocations: 23.91 kB / 0.6539 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2107, allocations: 8 kB / 0.6539 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002052/0.2109, allocations: 163 kB / 0.6541 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2109, allocations: 0 / 0.6541 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007122/0.2116, allocations: 108 kB / 0.6542 GB, free: 12.6 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.0003132/0.212, allocations: 113.2 kB / 0.6543 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.2137, allocations: 0.7552 MB / 0.655 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.2137, allocations: 3.938 kB / 0.655 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.2142, allocations: 275.6 kB / 0.6553 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.2147, allocations: 37.39 kB / 0.6553 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2158, allocations: 0.5479 MB / 0.6559 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.2162, allocations: 0.7638 MB / 0.6566 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002686/0.2164, allocations: 93.86 kB / 0.6567 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.2165, allocations: 31.42 kB / 0.6567 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2165, allocations: 0 / 0.6567 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of Templates: time 0.007549/0.2241, allocations: 3.472 MB / 0.6601 GB, free: 6.414 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)