Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 109.7 kB / 16.45 MB, free: 6.449 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.001057/0.001057, allocations: 185 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04773/0.04773, allocations: 8.11 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.1, allocations: 51.52 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002716/0.1028, allocations: 1.913 MB / 467.9 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1046, allocations: 1.598 MB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.1047, allocations: 4 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.105, allocations: 135.2 kB / 469.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1054, allocations: 159 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1069, allocations: 0.8633 MB / 470.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.1073, allocations: 358.4 kB / 471 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1075, allocations: 138.6 kB / 471.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1076, allocations: 135.5 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1079, allocations: 183.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.1079, allocations: 36 kB / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.1083, allocations: 223.8 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.1084, allocations: 71.69 kB / 471.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1085, allocations: 163.3 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.1091, allocations: 0.51 MB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1091, allocations: 11.92 kB / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1092, allocations: 0 / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1092, allocations: 0 / 472.5 MB, free: 11.67 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002498/0.1117, allocations: 0.9328 MB / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1117, allocations: 8.031 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1119, allocations: 52.72 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1123, allocations: 307.8 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1123, allocations: 16.81 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.1124, allocations: 32.31 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.1129, allocations: 335.8 kB / 474.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1129, allocations: 192 / 474.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.1129, allocations: 15.94 kB / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1129, allocations: 4 kB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.1134, allocations: 329.6 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1151, allocations: 1.354 MB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.116, allocations: 0.5015 MB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.1163, allocations: 208.7 kB / 476.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009898/0.1173, allocations: 0.9014 MB / 477.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.1177, allocations: 362 kB / 477.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.1177, allocations: 0 / 477.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003084/0.1208, allocations: 1.099 MB / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1209, allocations: 191.9 kB / 479.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1212, allocations: 272.9 kB / 479.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.1213, allocations: 37.7 kB / 479.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.1214, allocations: 160.7 kB / 479.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.1215, allocations: 103.1 kB / 479.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.1216, allocations: 82.12 kB / 479.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1217, allocations: 342.8 kB / 480 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.122, allocations: 184.8 kB / 480.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.1224, allocations: 272.9 kB / 480.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.1269, allocations: 1.42 MB / 481.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.127, allocations: 0 / 481.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001728/0.1287, allocations: 0.8197 MB / 482.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.1287, allocations: 33.7 kB / 482.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1287, allocations: 4 kB / 482.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.13, allocations: 320.5 kB / 483.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.1303, allocations: 63.91 kB / 483.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.1341, allocations: 2.937 MB / 486.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.1344, allocations: 47.64 kB / 486.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.1345, allocations: 16 kB / 486.1 MB, free: 13.25 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002714/0.1347, allocations: 212 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.1348, allocations: 27.81 kB / 486.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.1364, allocations: 0.7487 MB / 487.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1364, allocations: 7.938 kB / 487.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1365, allocations: 4 kB / 487.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1365, allocations: 7.938 kB / 487.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.1369, allocations: 473.1 kB / 487.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1369, allocations: 0 / 487.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.137, allocations: 23.94 kB / 487.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.1382, allocations: 308.5 kB / 487.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.1383, allocations: 8 kB / 487.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.1423, allocations: 2.922 MB / 490.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1423, allocations: 112 / 490.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1439, allocations: 0.7451 MB / 491.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.144, allocations: 112.8 kB / 491.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.144, allocations: 8 kB / 491.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1442, allocations: 12 kB / 491.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.1444, allocations: 32.03 kB / 491.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.1444, allocations: 16 kB / 491.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.1446, allocations: 192.4 kB / 492 MB, free: 7.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1446, allocations: 0 / 492 MB, free: 7.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004632/0.1451, allocations: 127.9 kB / 492.1 MB, free: 7.012 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.1454, allocations: 127.2 kB / 492.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.1469, allocations: 0.7441 MB / 493 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1469, allocations: 0 / 493 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009078/0.1478, allocations: 0.5212 MB / 493.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.148, allocations: 32.42 kB / 493.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1491, allocations: 0.5937 MB / 494.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1495, allocations: 0.7685 MB / 494.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1497, allocations: 34.34 kB / 494.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.1497, allocations: 23.44 kB / 494.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1497, allocations: 4 kB / 494.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of Templates: time 0.01092/0.1607, allocations: 6.538 MB / 0.4897 GB, free: 13.54 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1)