Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 104 kB / 16.56 MB, free: 6.723 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.001619/0.001619, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.342/1.342, allocations: 222.9 MB / 241.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04578/0.04578, allocations: 8.087 MB / 299.4 MB, free: 6.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 55.91 kB / 361.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1895, allocations: 51.52 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002422/0.192, allocations: 1.876 MB / 415.1 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1936, allocations: 1.54 MB / 416.6 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.1937, allocations: 11.94 kB / 416.6 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.194, allocations: 115.6 kB / 416.7 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1943, allocations: 127.3 kB / 416.9 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1953, allocations: 0.7785 MB / 417.6 MB, free: 21.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1956, allocations: 294.6 kB / 417.9 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1957, allocations: 94.11 kB / 418 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.1958, allocations: 107.6 kB / 418.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1959, allocations: 155.3 kB / 418.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.196, allocations: 24 kB / 418.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.1962, allocations: 163.9 kB / 418.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.1963, allocations: 59.69 kB / 418.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.1964, allocations: 131.3 kB / 418.6 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.1966, allocations: 317.3 kB / 419 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1966, allocations: 0 / 419 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1967, allocations: 0 / 419 MB, free: 20.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1967, allocations: 4 kB / 419 MB, free: 20.05 MB / 302.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.002705/0.1994, allocations: 0.9631 MB / 419.9 MB, free: 19.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1994, allocations: 15.91 kB / 419.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.1995, allocations: 32.56 kB / 420 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1997, allocations: 267.9 kB / 420.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1997, allocations: 20.81 kB / 420.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.1998, allocations: 24.38 kB / 420.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.2003, allocations: 343.8 kB / 420.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2003, allocations: 192 / 420.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.2003, allocations: 15.94 kB / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2003, allocations: 11.98 kB / 420.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.2008, allocations: 333.6 kB / 421 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.2021, allocations: 1.021 MB / 422 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.2026, allocations: 398.3 kB / 422.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.2029, allocations: 227.5 kB / 422.6 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.017e-05/0.203, allocations: 15.97 kB / 422.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.203, allocations: 38.5 kB / 422.7 MB, free: 16.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.203, allocations: 4 kB / 422.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002226/0.2052, allocations: 1.054 MB / 423.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.2053, allocations: 55.41 kB / 423.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2054, allocations: 227 kB / 424 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2055, allocations: 33.7 kB / 424 MB, free: 14.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.2055, allocations: 144.6 kB / 424.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.2056, allocations: 118.2 kB / 424.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2057, allocations: 86.11 kB / 424.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.2058, allocations: 346.8 kB / 424.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.2061, allocations: 232.8 kB / 424.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.2064, allocations: 239.8 kB / 425.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.207, allocations: 0.5054 MB / 425.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.207, allocations: 4 kB / 425.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001147/0.2081, allocations: 0.7208 MB / 426.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2082, allocations: 7.938 kB / 426.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2082, allocations: 4 kB / 426.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.2088, allocations: 154.5 kB / 426.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.2092, allocations: 79.89 kB / 426.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.212, allocations: 4.305 MB / 430.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.2124, allocations: 35.56 kB / 431 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.2124, allocations: 19.98 kB / 431 MB, free: 7.297 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.2126, allocations: 149.9 kB / 431.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.2127, allocations: 27.66 kB / 431.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2137, allocations: 0.5858 MB / 431.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2137, allocations: 4 kB / 431.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2138, allocations: 4 kB / 431.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2138, allocations: 7.875 kB / 431.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.2141, allocations: 457.1 kB / 432.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2141, allocations: 0 / 432.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.2144, allocations: 51.91 kB / 432.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005484/0.2149, allocations: 154.5 kB / 432.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.215, allocations: 8 kB / 432.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.2175, allocations: 4.295 MB / 436.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2176, allocations: 4.031 kB / 436.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.2185, allocations: 0.6273 MB / 437.3 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.2185, allocations: 108.7 kB / 437.5 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.2186, allocations: 8 kB / 437.5 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2188, allocations: 12 kB / 437.5 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2189, allocations: 23.97 kB / 437.5 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.2189, allocations: 8 kB / 437.5 MB, free: 256 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.219, allocations: 168.1 kB / 437.7 MB, free: 88 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.219, allocations: 0 / 437.7 MB, free: 88 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005141/0.2195, allocations: 119.9 kB / 437.8 MB, free: 15.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/0.2197, allocations: 133 kB / 437.9 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.2214, allocations: 0.8695 MB / 438.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2214, allocations: 4 kB / 438.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009944/0.2224, allocations: 0.5896 MB / 439.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2227, allocations: 19.02 kB / 439.4 MB, free: 14.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2238, allocations: 0.7003 MB / 440.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.2242, allocations: 0.7533 MB / 440.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2243, allocations: 35.42 kB / 440.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of SimCode: time 2.775e-06/0.2243, allocations: 0 / 440.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of Templates: time 0.009127/0.2335, allocations: 7.461 MB / 448.3 MB, free: 5.27 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)