Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 120.8 kB / 17.13 MB, free: 5.961 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.001725/0.001725, allocations: 193.2 kB / 18.06 MB, free: 5.039 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.314/1.314, allocations: 222.9 MB / 241.8 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04942/0.04942, allocations: 8.102 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08768, allocations: 51.5 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002487/0.09021, allocations: 1.267 MB / 467.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.09224, allocations: 1.489 MB / 469.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.09236, allocations: 4 kB / 469.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.09274, allocations: 111.5 kB / 469.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.0931, allocations: 103.3 kB / 469.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.09494, allocations: 1.011 MB / 470.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.09522, allocations: 155.2 kB / 470.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.09537, allocations: 49.52 kB / 470.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.09548, allocations: 75.7 kB / 470.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.09564, allocations: 87.61 kB / 471 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.09568, allocations: 16 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.0961, allocations: 223.8 kB / 471.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.09615, allocations: 35.8 kB / 471.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.09624, allocations: 75.59 kB / 471.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.09672, allocations: 335.1 kB / 471.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09673, allocations: 0 / 471.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.659e-06/0.09674, allocations: 4 kB / 471.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.09675, allocations: 3.938 kB / 471.7 MB, free: 13.13 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.002424/0.09918, allocations: 0.7253 MB / 472.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.09923, allocations: 11.89 kB / 472.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.0993, allocations: 16.75 kB / 472.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.09957, allocations: 225.7 kB / 472.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.09959, allocations: 8.609 kB / 472.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.09963, allocations: 16.38 kB / 472.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.09998, allocations: 205.9 kB / 472.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1, allocations: 192 / 472.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1, allocations: 7.938 kB / 472.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1, allocations: 4 kB / 472.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.1003, allocations: 160.6 kB / 473 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1015, allocations: 0.7262 MB / 473.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.102, allocations: 194.5 kB / 474 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1021, allocations: 96.83 kB / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.1022, allocations: 11.98 kB / 474.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1022, allocations: 34.56 kB / 474.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1022, allocations: 3.938 kB / 474.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002072/0.1043, allocations: 0.5966 MB / 474.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1044, allocations: 77.11 kB / 474.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1046, allocations: 174.6 kB / 474.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.1046, allocations: 29.7 kB / 475 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.1047, allocations: 120.3 kB / 475.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.1047, allocations: 47.2 kB / 475.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.1048, allocations: 57.69 kB / 475.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.105, allocations: 326.8 kB / 475.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1051, allocations: 104 kB / 475.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1053, allocations: 130.4 kB / 475.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1057, allocations: 228.8 kB / 476 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1057, allocations: 0 / 476 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001145/0.1068, allocations: 425.9 kB / 476.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1069, allocations: 8 kB / 476.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1069, allocations: 3.984 kB / 476.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.108, allocations: 196.6 kB / 476.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1082, allocations: 47.91 kB / 476.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.1112, allocations: 1.969 MB / 478.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1114, allocations: 19.75 kB / 478.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1114, allocations: 11.98 kB / 478.6 MB, free: 5.727 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.1116, allocations: 133.8 kB / 478.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.1116, allocations: 7.906 kB / 478.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.1128, allocations: 395.2 kB / 479.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1128, allocations: 0 / 479.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1128, allocations: 3.938 kB / 479.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.1128, allocations: 3.984 kB / 479.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.1131, allocations: 301.3 kB / 479.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1131, allocations: 96 / 479.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1133, allocations: 27.92 kB / 479.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.1143, allocations: 204.6 kB / 479.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1144, allocations: 4 kB / 479.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.1169, allocations: 1.949 MB / 481.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1169, allocations: 0 / 481.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.118, allocations: 451.8 kB / 482.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.118, allocations: 92.86 kB / 482.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.1181, allocations: 7.938 kB / 482.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.1183, allocations: 15.98 kB / 482.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1184, allocations: 11.98 kB / 482.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.1184, allocations: 12 kB / 482.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1185, allocations: 136.2 kB / 482.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1186, allocations: 0 / 482.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1189, allocations: 64 kB / 482.4 MB, free: 1.699 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.1191, allocations: 119.2 kB / 482.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009842/0.1201, allocations: 415.4 kB / 482.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1201, allocations: 7.938 kB / 482.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.1208, allocations: 278.5 kB / 483.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1211, allocations: 23.98 kB / 483.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.1218, allocations: 408.1 kB / 483.6 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1221, allocations: 0.7281 MB / 484.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.1222, allocations: 19.44 kB / 484.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1222, allocations: 0 / 484.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.00551/0.1277, allocations: 3.494 MB / 487.9 MB, free: 12.15 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)