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-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.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.001103/0.001103, allocations: 123.2 kB / 17.14 MB, free: 5.914 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.001108/0.001108, allocations: 190.3 kB / 18.06 MB, free: 4.996 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04465/0.04465, allocations: 8.094 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07331/0.07453, allocations: 51.51 MB / 466.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003689/0.07825, allocations: 2.832 MB / 469.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.08053, allocations: 1.652 MB / 471.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.08076, allocations: 8 kB / 471.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.08124, allocations: 175 kB / 471.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005833/0.08183, allocations: 238.4 kB / 471.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.08406, allocations: 1.256 MB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.08468, allocations: 489.6 kB / 473.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.08496, allocations: 181 kB / 473.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.0852, allocations: 199.2 kB / 473.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.08557, allocations: 270.9 kB / 473.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.08565, allocations: 40 kB / 474 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.08616, allocations: 275.8 kB / 474.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.08625, allocations: 99.61 kB / 474.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.08646, allocations: 246.8 kB / 474.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.08723, allocations: 0.6581 MB / 475.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08725, allocations: 4 kB / 475.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08725, allocations: 0 / 475.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.08727, allocations: 0 / 475.2 MB, free: 9.504 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.006/0.09328, allocations: 1.509 MB / 476.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.09332, allocations: 12.03 kB / 476.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.09347, allocations: 56.38 kB / 476.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.0939, allocations: 351.4 kB / 477.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.09394, allocations: 33.38 kB / 477.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.09402, allocations: 40.38 kB / 477.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.09493, allocations: 0.5814 MB / 477.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.09495, allocations: 4.188 kB / 477.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.09501, allocations: 19.94 kB / 477.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.09503, allocations: 12 kB / 477.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.09582, allocations: 0.5271 MB / 478.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.09874, allocations: 2.261 MB / 480.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.09988, allocations: 0.8454 MB / 481.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.1003, allocations: 322.1 kB / 481.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.1004, allocations: 20.41 kB / 481.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1004, allocations: 46.92 kB / 481.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.1004, allocations: 0 / 481.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.007249/0.1077, allocations: 2.034 MB / 483.9 MB, free: 428 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.1078, allocations: 107.2 kB / 484 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1081, allocations: 278.9 kB / 484.3 MB, free: 4 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.67e-05/0.1081, allocations: 37.7 kB / 484.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1083, allocations: 189.3 kB / 484.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1084, allocations: 173.3 kB / 484.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.1086, allocations: 122.3 kB / 484.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1087, allocations: 342.8 kB / 485.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.1092, allocations: 321.2 kB / 485.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.1097, allocations: 389.7 kB / 485.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.1107, allocations: 0.7095 MB / 486.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1108, allocations: 0 / 486.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003625/0.1144, allocations: 1.344 MB / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1144, allocations: 7.984 kB / 487.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1144, allocations: 0 / 487.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003624/0.1181, allocations: 0.7887 MB / 488.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.1185, allocations: 103.8 kB / 488.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007305/0.1258, allocations: 4.17 MB / 492.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.1263, allocations: 59.42 kB / 493 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.1264, allocations: 23.98 kB / 493 MB, free: 7.07 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.0002356/0.1267, allocations: 169.7 kB / 493.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1268, allocations: 35.56 kB / 493.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/0.1305, allocations: 1.315 MB / 494.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1305, allocations: 4 kB / 494.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1305, allocations: 0 / 494.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1305, allocations: 7.984 kB / 494.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.1347, allocations: 1.985 MB / 496.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1347, allocations: 3.938 kB / 496.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.135, allocations: 75.89 kB / 496.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/0.1385, allocations: 0.7526 MB / 497.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.1386, allocations: 12 kB / 497.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.1456, allocations: 4.114 MB / 0.4897 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1457, allocations: 4 kB / 0.4897 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.1491, allocations: 1.316 MB / 0.491 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1492, allocations: 120.5 kB / 0.4911 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.1493, allocations: 16 kB / 0.4912 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.1498, allocations: 30.73 kB / 0.4912 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.1499, allocations: 44.44 kB / 0.4912 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.1499, allocations: 19.98 kB / 0.4912 GB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1501, allocations: 194 kB / 0.4914 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1501, allocations: 0 / 0.4914 GB, free: 12.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006507/0.1508, allocations: 199.8 kB / 0.4916 GB, free: 12.41 MB / 382.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.0002117/0.151, allocations: 135.1 kB / 0.4918 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.1537, allocations: 1.131 MB / 0.4929 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1537, allocations: 0 / 0.4929 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.1555, allocations: 0.7202 MB / 0.4936 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1559, allocations: 36.88 kB / 0.4936 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1574, allocations: 0.8845 MB / 0.4945 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1577, allocations: 0.8296 MB / 0.4953 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1579, allocations: 43.42 kB / 0.4953 GB, free: 8.547 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1579, allocations: 0 / 0.4953 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Templates: time 0.1756/0.3335, allocations: 8.741 MB / 0.5038 GB, free: 45.52 MB / 382.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)