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.0009437/0.000944, allocations: 96.78 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 169.8 kB / 16.62 MB, free: 6.43 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.544/1.544, allocations: 223.3 MB / 240.7 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1936/0.1936, allocations: 8.091 MB / 299.8 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.00032, allocations: 8 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 52.52 MB / 415.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001338/0.1175, allocations: 0.8045 MB / 416.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1193, allocations: 1.38 MB / 417.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1195, allocations: 4 kB / 417.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1198, allocations: 75.67 kB / 417.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1201, allocations: 59.66 kB / 417.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1212, allocations: 0.5997 MB / 418.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.1215, allocations: 127.3 kB / 418.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1216, allocations: 37.22 kB / 418.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.1217, allocations: 51.78 kB / 418.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.1218, allocations: 59.77 kB / 418.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1218, allocations: 4 kB / 418.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.1221, allocations: 155.8 kB / 418.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.1222, allocations: 23.91 kB / 418.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1222, allocations: 45.58 kB / 418.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1225, allocations: 187.8 kB / 419 MB, free: 5.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1225, allocations: 0 / 419 MB, free: 5.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1225, allocations: 0 / 419 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1225, allocations: 0 / 419 MB, free: 5.09 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.001455/0.124, allocations: 0.5615 MB / 419.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.124, allocations: 11.97 kB / 419.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.1241, allocations: 15.86 kB / 419.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1243, allocations: 217.7 kB / 419.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1244, allocations: 8.234 kB / 419.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1244, allocations: 16 kB / 419.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.1248, allocations: 171.5 kB / 420 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1248, allocations: 0 / 420 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1249, allocations: 7.984 kB / 420 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1249, allocations: 4 kB / 420 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.1251, allocations: 148.6 kB / 420.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009742/0.1261, allocations: 0.5675 MB / 420.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1264, allocations: 158.5 kB / 420.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1265, allocations: 68.84 kB / 420.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.1265, allocations: 11.92 kB / 420.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1266, allocations: 34.56 kB / 421 MB, free: 2.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1266, allocations: 0 / 421 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009238/0.1275, allocations: 375.6 kB / 421.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1276, allocations: 63.41 kB / 421.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1278, allocations: 166.3 kB / 421.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.1278, allocations: 29.7 kB / 421.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.128, allocations: 120.1 kB / 421.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.128, allocations: 43.36 kB / 421.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.128, allocations: 4 kB / 421.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1282, allocations: 326.8 kB / 422.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1284, allocations: 87.97 kB / 422.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1285, allocations: 87.97 kB / 422.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1287, allocations: 102.2 kB / 422.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1287, allocations: 0 / 422.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000605/0.1294, allocations: 295.2 kB / 422.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.1294, allocations: 11.94 kB / 422.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1294, allocations: 3.938 kB / 422.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.1297, allocations: 48.81 kB / 422.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.13, allocations: 39.98 kB / 422.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2201/0.3501, allocations: 1.433 MB / 424.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3503, allocations: 18.11 kB / 424.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3503, allocations: 6.375 kB / 424.2 MB, free: 40.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.3505, allocations: 127.8 kB / 424.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3505, allocations: 8.625 kB / 424.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.351, allocations: 237.4 kB / 424.5 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.351, allocations: 6.266 kB / 424.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3511, allocations: 2.531 kB / 424.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3511, allocations: 0 / 424.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3513, allocations: 264.2 kB / 424.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3513, allocations: 2.469 kB / 424.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.3514, allocations: 20.66 kB / 424.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.3516, allocations: 51.66 kB / 424.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3516, allocations: 7.281 kB / 424.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009152/0.3525, allocations: 1.428 MB / 426.3 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3526, allocations: 3.953 kB / 426.3 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.3529, allocations: 301.7 kB / 426.6 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.353, allocations: 96.61 kB / 426.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.353, allocations: 8.906 kB / 426.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3531, allocations: 1.188 kB / 426.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.3532, allocations: 12.81 kB / 426.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3532, allocations: 5.359 kB / 426.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.479e-05/0.3533, allocations: 129.6 kB / 426.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3533, allocations: 0 / 426.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.3536, allocations: 50.94 kB / 426.9 MB, free: 38.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.3538, allocations: 114.8 kB / 427 MB, free: 38.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.3545, allocations: 326.3 kB / 427.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3545, allocations: 0 / 427.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.3548, allocations: 197.9 kB / 427.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3551, allocations: 14 kB / 427.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.3557, allocations: 355.4 kB / 427.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3559, allocations: 0.7093 MB / 428.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.617e-05/0.356, allocations: 18.27 kB / 428.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.356, allocations: 21.97 kB / 428.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.356, allocations: 0 / 428.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004893/0.3609, allocations: 1.972 MB / 430.6 MB, free: 36.82 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: