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-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.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.001533/0.001533, allocations: 122.8 kB / 17.13 MB, free: 5.938 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.001812/0.001813, allocations: 193.1 kB / 18.07 MB, free: 5.016 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.329/1.329, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04702/0.04702, allocations: 8.096 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.91 kB / 415.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08395, allocations: 51.51 MB / 466.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002098/0.08608, allocations: 1.165 MB / 467.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.08771, allocations: 1.442 MB / 469.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.08777, allocations: 0 / 469.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.0881, allocations: 111.4 kB / 469.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.0883, allocations: 71.53 kB / 469.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.08956, allocations: 0.7506 MB / 470.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.08978, allocations: 135.3 kB / 470.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.08992, allocations: 61.06 kB / 470.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.08999, allocations: 51.8 kB / 470.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.09009, allocations: 75.67 kB / 470.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.09012, allocations: 8 kB / 470.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.09039, allocations: 155.9 kB / 470.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.09043, allocations: 27.92 kB / 470.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.0905, allocations: 67.61 kB / 470.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.09085, allocations: 271.2 kB / 471 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09087, allocations: 0 / 471 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09087, allocations: 0 / 471 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.09088, allocations: 0 / 471 MB, free: 13.88 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.001477/0.09236, allocations: 0.5811 MB / 471.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.0924, allocations: 11.97 kB / 471.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.09246, allocations: 16.75 kB / 471.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.09266, allocations: 216.1 kB / 471.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.09268, allocations: 8.609 kB / 471.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.09272, allocations: 16.38 kB / 471.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.09301, allocations: 168 kB / 472 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.09303, allocations: 192 / 472 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.09306, allocations: 15.81 kB / 472.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.09307, allocations: 4 kB / 472.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.09331, allocations: 152.6 kB / 472.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.09419, allocations: 0.5637 MB / 472.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.09446, allocations: 154.5 kB / 472.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.09457, allocations: 69.09 kB / 473 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.09461, allocations: 4 kB / 473 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.09465, allocations: 38.56 kB / 473 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.09466, allocations: 0 / 473 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009779/0.09564, allocations: 387.2 kB / 473.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.0957, allocations: 55.41 kB / 473.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.09584, allocations: 176.8 kB / 473.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.09587, allocations: 29.7 kB / 473.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.09595, allocations: 120.1 kB / 473.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.09599, allocations: 43.39 kB / 473.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.09608, allocations: 53.59 kB / 473.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.09619, allocations: 318.8 kB / 474.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.09634, allocations: 91.97 kB / 474.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.09648, allocations: 89.59 kB / 474.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.09676, allocations: 191.7 kB / 474.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09677, allocations: 0 / 474.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005387/0.09731, allocations: 306.1 kB / 474.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.09734, allocations: 8 kB / 474.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.09735, allocations: 0 / 474.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.09762, allocations: 48.81 kB / 474.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.09781, allocations: 39.92 kB / 474.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.09922, allocations: 1.551 MB / 476.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.09937, allocations: 19.81 kB / 476.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.0994, allocations: 4 kB / 476.5 MB, free: 7.992 MB / 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.0001133/0.09952, allocations: 133.8 kB / 476.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.09956, allocations: 11.81 kB / 476.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.1001, allocations: 243.2 kB / 476.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1001, allocations: 0 / 476.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1001, allocations: 0 / 476.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1001, allocations: 0 / 476.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1003, allocations: 257.5 kB / 477.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1004, allocations: 3.984 kB / 477.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.1005, allocations: 19.94 kB / 477.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.1007, allocations: 48.81 kB / 477.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1007, allocations: 12 kB / 477.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.102, allocations: 1.531 MB / 478.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.102, allocations: 3.938 kB / 478.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.1025, allocations: 312.2 kB / 479.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1025, allocations: 84.95 kB / 479.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1025, allocations: 4 kB / 479.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1027, allocations: 7.938 kB / 479.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.1027, allocations: 7.984 kB / 479.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1027, allocations: 4 kB / 479.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.1028, allocations: 137.5 kB / 479.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1028, allocations: 0 / 479.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1032, allocations: 55.98 kB / 479.4 MB, free: 4.898 MB / 350.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.0001586/0.1034, allocations: 119.2 kB / 479.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000637/0.104, allocations: 322.5 kB / 479.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.104, allocations: 0 / 479.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.1044, allocations: 202.6 kB / 480 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1046, allocations: 4 kB / 480 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.1052, allocations: 335.7 kB / 480.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1055, allocations: 0.7084 MB / 481 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.1056, allocations: 23.42 kB / 481.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1056, allocations: 0 / 481.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of Templates: time 0.004358/0.1099, allocations: 2.792 MB / 483.9 MB, free: 332 kB / 350.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)