Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004083/0.004083, allocations: 93.44 kB / 15.91 MB, free: 6.273 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.0009745/0.0009745, allocations: 200.2 kB / 16.84 MB, free: 6.188 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.21/1.21, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1331/0.1331, allocations: 8.077 MB / 298.7 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009904/0.0009904, allocations: 63.91 kB / 361 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08216/0.08317, allocations: 51.51 MB / 412.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002082/0.08528, allocations: 1.207 MB / 413.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.08672, allocations: 1.442 MB / 415.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.08677, allocations: 4 kB / 415.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.08704, allocations: 87.67 kB / 415.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.08719, allocations: 67.66 kB / 415.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.08827, allocations: 0.7317 MB / 416.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.08845, allocations: 131.3 kB / 416.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.08855, allocations: 49.02 kB / 416.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.0886, allocations: 51.78 kB / 416.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.08868, allocations: 75.67 kB / 416.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.08872, allocations: 8 kB / 416.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.08894, allocations: 151.8 kB / 416.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.08897, allocations: 23.91 kB / 416.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.08904, allocations: 59.67 kB / 416.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.08933, allocations: 259.5 kB / 416.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.08934, allocations: 4 kB / 416.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.08935, allocations: 4 kB / 416.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.08935, allocations: 0 / 416.9 MB, free: 5.848 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001312/0.09067, allocations: 0.5812 MB / 417.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.09074, allocations: 12.03 kB / 417.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.09079, allocations: 16.75 kB / 417.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.09097, allocations: 212.1 kB / 417.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.09099, allocations: 8.609 kB / 417.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.09102, allocations: 12.38 kB / 417.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.09128, allocations: 168 kB / 417.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.0913, allocations: 192 / 417.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.09133, allocations: 11.88 kB / 417.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.09134, allocations: 8 kB / 417.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.09155, allocations: 152.6 kB / 418 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.09233, allocations: 0.5597 MB / 418.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.09258, allocations: 162.5 kB / 418.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.09268, allocations: 64.84 kB / 418.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.09274, allocations: 11.97 kB / 418.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.09277, allocations: 42.5 kB / 418.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.09277, allocations: 3.984 kB / 418.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000915/0.09369, allocations: 383.5 kB / 419.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.09373, allocations: 51.41 kB / 419.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.09388, allocations: 169.7 kB / 419.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.09391, allocations: 29.7 kB / 419.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.09399, allocations: 124.1 kB / 419.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.09402, allocations: 39.36 kB / 419.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.0941, allocations: 49.7 kB / 419.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.09422, allocations: 322.8 kB / 420 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.09436, allocations: 87.97 kB / 420.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.09449, allocations: 95.95 kB / 420.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.09476, allocations: 187.3 kB / 420.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09477, allocations: 0 / 420.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005133/0.09529, allocations: 306.9 kB / 420.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.09531, allocations: 11.98 kB / 420.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09532, allocations: 0 / 420.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.0956, allocations: 48.83 kB / 420.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.09577, allocations: 35.97 kB / 420.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.097, allocations: 1.436 MB / 422.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.09714, allocations: 15.81 kB / 422.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.09716, allocations: 11.98 kB / 422.3 MB, free: 84 kB / 350.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 (22): * Single equations (assignments): 21 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.09728, allocations: 129.9 kB / 422.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.09732, allocations: 11.81 kB / 422.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.09779, allocations: 231.2 kB / 422.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0978, allocations: 3.938 kB / 422.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.09781, allocations: 0 / 422.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.09782, allocations: 11.88 kB / 422.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.09806, allocations: 269.4 kB / 422.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09807, allocations: 0 / 422.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.09815, allocations: 15.98 kB / 422.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.09836, allocations: 52.81 kB / 423 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.09838, allocations: 4 kB / 423 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.09955, allocations: 1.428 MB / 424.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.09956, allocations: 4.156 kB / 424.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.09999, allocations: 319.7 kB / 424.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.1, allocations: 92.95 kB / 424.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1001, allocations: 0 / 424.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1002, allocations: 0 / 424.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1002, allocations: 15.98 kB / 424.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1002, allocations: 4 kB / 424.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.405e-05/0.1003, allocations: 138.3 kB / 425 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1003, allocations: 0 / 425 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1006, allocations: 52 kB / 425 MB, free: 13.09 MB / 366.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 (12): * 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: 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,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.0001522/0.1008, allocations: 112.2 kB / 425.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.1014, allocations: 326.5 kB / 425.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1014, allocations: 0 / 425.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.1017, allocations: 202.6 kB / 425.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.102, allocations: 15.94 kB / 425.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.1025, allocations: 341.2 kB / 426 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1027, allocations: 0.7086 MB / 426.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.064e-05/0.1028, allocations: 24.55 kB / 426.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.1029, allocations: 15.44 kB / 426.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1029, allocations: 4 kB / 426.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Templates: time 0.003911/0.1068, allocations: 2.054 MB / 428.8 MB, free: 9.227 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)