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.001071/0.001071, allocations: 107.1 kB / 16.45 MB, free: 6.457 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.001033/0.001033, allocations: 182.4 kB / 17.38 MB, free: 5.672 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05281/0.05281, allocations: 8.103 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 67.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08491, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002016/0.08696, allocations: 1.158 MB / 467.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.08865, allocations: 1.438 MB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.08872, allocations: 4 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.08906, allocations: 107.4 kB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.08927, allocations: 71.53 kB / 468.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.09052, allocations: 0.7468 MB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.09075, allocations: 139.3 kB / 469.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.09089, allocations: 57 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.09095, allocations: 51.8 kB / 469.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.09106, allocations: 79.67 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.09109, allocations: 12 kB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.09134, allocations: 155.9 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.09137, allocations: 23.92 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.09145, allocations: 71.59 kB / 470.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.09179, allocations: 263.1 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.0918, allocations: 4 kB / 470.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0918, allocations: 0 / 470.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.09182, allocations: 0 / 470.4 MB, free: 13.78 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.001379/0.0932, allocations: 0.5846 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.09325, allocations: 15.97 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.09331, allocations: 20.84 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.09351, allocations: 212.1 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.09353, allocations: 8.609 kB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.09356, allocations: 12.38 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.09386, allocations: 172 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.09388, allocations: 192 / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.0939, allocations: 15.88 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.09391, allocations: 0 / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.09414, allocations: 148.6 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.09498, allocations: 0.5638 MB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.09524, allocations: 158.5 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.09535, allocations: 69.09 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.09539, allocations: 8 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.09543, allocations: 38.56 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.09543, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000928/0.09636, allocations: 391.2 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.0964, allocations: 55.41 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.09655, allocations: 172.3 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.09658, allocations: 25.7 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.09665, allocations: 120.3 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.09669, allocations: 51.58 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.09677, allocations: 45.69 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.09688, allocations: 326.8 kB / 473.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.09702, allocations: 83.97 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.09716, allocations: 95.97 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.09743, allocations: 187.7 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.09744, allocations: 0 / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005241/0.09797, allocations: 310.1 kB / 474.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.098, allocations: 7.938 kB / 474.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.09801, allocations: 0 / 474.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.09828, allocations: 52.81 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.09846, allocations: 43.92 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.09978, allocations: 1.547 MB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.09992, allocations: 15.78 kB / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.09994, allocations: 12 kB / 475.9 MB, free: 7.875 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.0001042/0.1001, allocations: 129.9 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1001, allocations: 11.95 kB / 476 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.1006, allocations: 243.1 kB / 476.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1006, allocations: 0 / 476.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1006, allocations: 4 kB / 476.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1006, allocations: 0 / 476.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1008, allocations: 257.5 kB / 476.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1008, allocations: 0 / 476.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.1009, allocations: 23.94 kB / 476.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.1011, allocations: 52.81 kB / 476.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1012, allocations: 0 / 476.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.1024, allocations: 1.535 MB / 478.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1024, allocations: 0 / 478.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1028, allocations: 316.3 kB / 478.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.1029, allocations: 93 kB / 478.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1029, allocations: 0 / 478.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.103, allocations: 3.938 kB / 478.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.1031, allocations: 15.98 kB / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1031, allocations: 0 / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.1032, allocations: 141.5 kB / 478.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1032, allocations: 0 / 478.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.1035, allocations: 55.94 kB / 478.7 MB, free: 4.777 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.0001504/0.1037, allocations: 115.2 kB / 478.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.1043, allocations: 318.6 kB / 479.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1043, allocations: 0 / 479.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.1046, allocations: 198.6 kB / 479.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1049, allocations: 16 kB / 479.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1054, allocations: 308.2 kB / 479.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1057, allocations: 0.7045 MB / 480.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.702e-05/0.1058, allocations: 20.62 kB / 480.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1059, allocations: 19.38 kB / 480.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1059, allocations: 0 / 480.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Templates: time 0.004543/0.1104, allocations: 2.164 MB / 482.6 MB, free: 0.8594 MB / 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)