Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003559/0.003559, allocations: 89 kB / 15.91 MB, free: 6.301 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.0008895/0.0008895, allocations: 199.3 kB / 16.83 MB, free: 6.234 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.187/1.187, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1354/0.1354, allocations: 8.085 MB / 298.7 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.92 kB / 361 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07944/0.08051, allocations: 51.52 MB / 412.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.00327/0.08381, allocations: 2.849 MB / 415.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.08551, allocations: 1.652 MB / 417 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.08562, allocations: 8 kB / 417 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.08597, allocations: 151.4 kB / 417.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.08634, allocations: 202.9 kB / 417.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.08816, allocations: 1.235 MB / 418.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.08855, allocations: 457.8 kB / 419.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.08875, allocations: 153.7 kB / 419.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.0889, allocations: 187.2 kB / 419.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.08916, allocations: 270.9 kB / 419.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.08921, allocations: 28 kB / 419.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.08958, allocations: 263.7 kB / 420 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.08966, allocations: 91.59 kB / 420 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.08983, allocations: 226.8 kB / 420.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.09039, allocations: 0.6542 MB / 420.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0904, allocations: 0 / 420.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.09041, allocations: 0 / 420.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.09041, allocations: 0 / 420.9 MB, free: 1.719 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005118/0.09554, allocations: 1.513 MB / 422.4 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.09557, allocations: 8.031 kB / 422.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.09569, allocations: 56.38 kB / 422.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.09605, allocations: 347.4 kB / 422.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.09609, allocations: 37.38 kB / 422.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.09616, allocations: 40.38 kB / 422.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.09695, allocations: 0.5854 MB / 423.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.09697, allocations: 4.125 kB / 423.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.09702, allocations: 19.94 kB / 423.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.09704, allocations: 8 kB / 423.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.09775, allocations: 0.5271 MB / 424.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.1003, allocations: 2.288 MB / 426.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1013, allocations: 0.8386 MB / 427.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.1017, allocations: 330.1 kB / 427.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.1018, allocations: 12.42 kB / 427.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1018, allocations: 38.94 kB / 427.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.823e-06/0.1018, allocations: 4 kB / 427.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.006617/0.1085, allocations: 2.03 MB / 429.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1085, allocations: 115.2 kB / 429.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1088, allocations: 270.9 kB / 430 MB, free: 8.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.1088, allocations: 41.7 kB / 430 MB, free: 8.164 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.1089, allocations: 181.2 kB / 430.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1091, allocations: 181.4 kB / 430.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.1092, allocations: 118.3 kB / 430.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.1094, allocations: 342.8 kB / 430.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.1098, allocations: 329.2 kB / 431.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.1103, allocations: 381.7 kB / 431.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.1112, allocations: 0.7095 MB / 432.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1112, allocations: 0 / 432.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003291/0.1145, allocations: 1.344 MB / 433.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1146, allocations: 4 kB / 433.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1146, allocations: 7.938 kB / 433.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/0.1179, allocations: 0.7875 MB / 434.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.1182, allocations: 95.89 kB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1469/0.2651, allocations: 3.825 MB / 438.3 MB, free: 55.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.2657, allocations: 56.28 kB / 438.3 MB, free: 55.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.2657, allocations: 28.62 kB / 438.4 MB, free: 55.91 MB / 366.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 (61): * Single equations (assignments): 60 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.2659, allocations: 167.2 kB / 438.5 MB, free: 55.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.266, allocations: 37.22 kB / 438.6 MB, free: 55.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.2691, allocations: 1.317 MB / 439.9 MB, free: 55.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.2692, allocations: 8.281 kB / 439.9 MB, free: 55.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2692, allocations: 0 / 439.9 MB, free: 55.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2692, allocations: 7.656 kB / 439.9 MB, free: 55.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.2726, allocations: 1.983 MB / 441.9 MB, free: 55.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2726, allocations: 0.625 kB / 441.9 MB, free: 55.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.2729, allocations: 72.47 kB / 441.9 MB, free: 55.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.2759, allocations: 0.7545 MB / 442.7 MB, free: 55.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.276, allocations: 16.72 kB / 442.7 MB, free: 55.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.2813, allocations: 3.784 MB / 446.5 MB, free: 53.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2813, allocations: 3 kB / 446.5 MB, free: 53.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.2843, allocations: 1.308 MB / 447.8 MB, free: 52.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.2843, allocations: 120.5 kB / 447.9 MB, free: 52.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.2844, allocations: 11.28 kB / 447.9 MB, free: 52.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.2848, allocations: 27.66 kB / 448 MB, free: 52.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2849, allocations: 45.02 kB / 448 MB, free: 52.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.2849, allocations: 16.69 kB / 448 MB, free: 52.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2851, allocations: 191.4 kB / 448.2 MB, free: 52.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2851, allocations: 3.25 kB / 448.2 MB, free: 52.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005653/0.2857, allocations: 201.2 kB / 448.4 MB, free: 52.3 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 (45): * Single equations (assignments): 44 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.2859, allocations: 132.2 kB / 448.5 MB, free: 52.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.2879, allocations: 1.103 MB / 449.6 MB, free: 51.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2879, allocations: 0 / 449.6 MB, free: 51.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.2894, allocations: 0.7144 MB / 450.4 MB, free: 51.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.2898, allocations: 49.61 kB / 450.4 MB, free: 51.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2909, allocations: 1.031 MB / 451.4 MB, free: 50.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2911, allocations: 0.8176 MB / 452.3 MB, free: 50.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.2913, allocations: 66 kB / 452.3 MB, free: 50 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2915, allocations: 41.3 kB / 452.4 MB, free: 50 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2915, allocations: 0 / 452.4 MB, free: 50 MB / 366.1 MB Notification: Performance of Templates: time 0.01293/0.3044, allocations: 11.46 MB / 463.8 MB, free: 49.21 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)