Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110 kB / 16.41 MB, free: 6.484 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.001231/0.001231, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.339/1.339, 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.7265/0.7265, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.08 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1755, allocations: 76.18 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005053/0.1806, allocations: 2.423 MB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.1841, allocations: 1.571 MB / 0.636 GB, free: 432 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1843, allocations: 11.94 kB / 0.636 GB, free: 420 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.1851, allocations: 171.3 kB / 0.6361 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.1856, allocations: 155.4 kB / 0.6363 GB, free: 92 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.1863, allocations: 183.5 kB / 0.6365 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.1867, allocations: 223.3 kB / 0.6367 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.187, allocations: 121 kB / 0.6368 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1872, allocations: 87.69 kB / 0.6369 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.1875, allocations: 103.6 kB / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1876, allocations: 12 kB / 0.637 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.188, allocations: 219.6 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.1881, allocations: 59.81 kB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1883, allocations: 83.58 kB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.1888, allocations: 299.2 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1888, allocations: 0 / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1888, allocations: 3.938 kB / 0.6376 GB, free: 14.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1889, allocations: 0 / 0.6376 GB, free: 14.72 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009071/0.1898, allocations: 483.1 kB / 0.6381 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1898, allocations: 12.02 kB / 0.6381 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1909, allocations: 84.64 kB / 0.6382 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1912, allocations: 228 kB / 0.6384 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1913, allocations: 8.656 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.1913, allocations: 16.36 kB / 0.6384 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.1921, allocations: 295.5 kB / 0.6387 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1921, allocations: 4 kB / 0.6387 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.1921, allocations: 4 kB / 0.6387 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.1922, allocations: 24.22 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.1928, allocations: 224.4 kB / 0.6389 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.1954, allocations: 1.595 MB / 0.6405 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.1959, allocations: 323.2 kB / 0.6408 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1961, allocations: 61.69 kB / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1961, allocations: 0 / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.1962, allocations: 46.48 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1962, allocations: 0 / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007621/0.1969, allocations: 244.6 kB / 0.6411 GB, free: 10.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.197, allocations: 81.11 kB / 0.6412 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.1973, allocations: 207.4 kB / 0.6414 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1974, allocations: 25.7 kB / 0.6414 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1975, allocations: 159.6 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.1976, allocations: 39.64 kB / 0.6416 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.1977, allocations: 45.7 kB / 0.6417 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1979, allocations: 330.8 kB / 0.642 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1981, allocations: 72.81 kB / 0.6421 GB, free: 9.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.1984, allocations: 162.7 kB / 0.6422 GB, free: 9.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.1989, allocations: 250.9 kB / 0.6425 GB, free: 9.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1989, allocations: 0 / 0.6425 GB, free: 9.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007085/0.1997, allocations: 277.3 kB / 0.6427 GB, free: 9.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1997, allocations: 4 kB / 0.6427 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1997, allocations: 4 kB / 0.6427 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1997, allocations: 7.938 kB / 0.6427 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.2001, allocations: 59.89 kB / 0.6428 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2002, allocations: 4 kB / 0.6428 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.2005, allocations: 23.97 kB / 0.6428 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2005, allocations: 8 kB / 0.6428 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003046/0.2009, allocations: 172.1 kB / 0.643 GB, free: 8.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002653/0.2011, allocations: 151.9 kB / 0.6431 GB, free: 8.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003944/0.2016, allocations: 219.8 kB / 0.6433 GB, free: 8.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.598e-05/0.2016, allocations: 4 kB / 0.6433 GB, free: 8.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007221/0.2024, allocations: 253.1 kB / 0.6436 GB, free: 8.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2024, allocations: 4 kB / 0.6436 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2024, allocations: 4 kB / 0.6436 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.2024, allocations: 4.406 kB / 0.6436 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.2027, allocations: 59.91 kB / 0.6437 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2027, allocations: 15.86 kB / 0.6437 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.2031, allocations: 15.98 kB / 0.6437 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.2031, allocations: 12 kB / 0.6437 GB, free: 7.918 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.2032, allocations: 192.1 kB / 0.6439 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.2033, allocations: 15.81 kB / 0.6439 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.2037, allocations: 147 kB / 0.644 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2037, allocations: 3.938 kB / 0.644 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2037, allocations: 0 / 0.644 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2037, allocations: 3.938 kB / 0.644 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.2052, allocations: 0.7273 MB / 0.6448 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2052, allocations: 4 kB / 0.6448 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.2054, allocations: 19.98 kB / 0.6448 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2054, allocations: 4 kB / 0.6448 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2054, allocations: 8 kB / 0.6448 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2054, allocations: 4 kB / 0.6448 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.2054, allocations: 8.281 kB / 0.6448 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.2059, allocations: 382.2 kB / 0.6452 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.206, allocations: 104.8 kB / 0.6453 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.2061, allocations: 8 kB / 0.6453 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.2064, allocations: 15.98 kB / 0.6453 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.2065, allocations: 23.92 kB / 0.6453 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2065, allocations: 4 kB / 0.6453 GB, free: 6.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.2067, allocations: 160.8 kB / 0.6455 GB, free: 5.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2067, allocations: 0 / 0.6455 GB, free: 5.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.2076, allocations: 68 kB / 0.6455 GB, free: 5.871 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.2077, allocations: 103.2 kB / 0.6456 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.2085, allocations: 284.8 kB / 0.6459 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2085, allocations: 4 kB / 0.6459 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.2086, allocations: 60.34 kB / 0.646 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.2094, allocations: 36.16 kB / 0.646 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2104, allocations: 415 kB / 0.6464 GB, free: 4.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.2108, allocations: 0.7323 MB / 0.6471 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.2112, allocations: 85.44 kB / 0.6472 GB, free: 4.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.2113, allocations: 19.44 kB / 0.6472 GB, free: 4.062 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2113, allocations: 0 / 0.6472 GB, free: 4.062 MB / 494.1 MB Notification: Performance of Templates: time 0.006561/0.2178, allocations: 1.919 MB / 0.6491 GB, free: 2.152 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)