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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 81.86 kB / 21.48 MB, free: 3.016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 170.6 kB / 24.88 MB, free: 8.824 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02791/0.02791, allocations: 4.49 MB / 266.4 MB, free: 8.402 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.066e-05, allocations: 4.562 kB / 337.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001827/0.001847, allocations: 1.765 MB / 339.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.003347, allocations: 1.621 MB / 341.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.00349, allocations: 8 kB / 341.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.003831, allocations: 143 kB / 341.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.004107, allocations: 154.9 kB / 341.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.004928, allocations: 0.7701 MB / 342.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.005256, allocations: 350.2 kB / 342.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.005416, allocations: 75.36 kB / 342.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.005565, allocations: 199.5 kB / 342.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.005746, allocations: 139.6 kB / 342.9 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.005783, allocations: 36 kB / 343 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.006098, allocations: 223.6 kB / 343.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.00614, allocations: 79.67 kB / 343.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.006215, allocations: 103.8 kB / 343.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.006583, allocations: 442.5 kB / 343.8 MB, free: 6.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006585, allocations: 4 kB / 343.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006586, allocations: 4 kB / 343.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.006591, allocations: 0 / 343.8 MB, free: 6.902 MB / 266.7 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.001348/0.007938, allocations: 0.9653 MB / 344.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.007969, allocations: 12.03 kB / 344.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.008137, allocations: 68.69 kB / 344.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.00833, allocations: 232.1 kB / 345.1 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.008346, allocations: 20.88 kB / 345.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.008372, allocations: 24.38 kB / 345.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.00858, allocations: 228 kB / 345.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.008589, allocations: 192 / 345.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.008609, allocations: 4.375 kB / 345.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.008617, allocations: 8.375 kB / 345.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.008749, allocations: 137 kB / 345.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.009515, allocations: 0.8143 MB / 346.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.009862, allocations: 258.5 kB / 346.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.009949, allocations: 109.3 kB / 346.6 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/0.01044, allocations: 0.6562 MB / 347.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.01063, allocations: 319.1 kB / 347.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.01063, allocations: 0 / 347.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001333/0.01196, allocations: 0.7401 MB / 348.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.012, allocations: 199.8 kB / 348.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01213, allocations: 300.1 kB / 348.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.01215, allocations: 37.7 kB / 348.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.01222, allocations: 207.4 kB / 349.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.01226, allocations: 107.1 kB / 349.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.01234, allocations: 99.78 kB / 349.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.0124, allocations: 0.5117 MB / 349.8 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.01248, allocations: 102.7 kB / 349.9 MB, free: 452 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01259, allocations: 219.5 kB / 350.1 MB, free: 188 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.01301, allocations: 482.6 kB / 350.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01301, allocations: 4 kB / 350.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000938/0.01395, allocations: 0.5639 MB / 351.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.01406, allocations: 37.69 kB / 351.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01406, allocations: 0 / 351.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.01511, allocations: 279.3 kB / 351.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.0153, allocations: 63.91 kB / 351.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.01777, allocations: 2.397 MB / 353.9 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.01797, allocations: 43.66 kB / 354 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.018, allocations: 20 kB / 354 MB, free: 12.1 MB / 282.7 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.000226/0.01822, allocations: 227.4 kB / 354.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.01829, allocations: 47.75 kB / 354.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.01926, allocations: 0.509 MB / 354.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01926, allocations: 4 kB / 354.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01927, allocations: 0 / 354.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01927, allocations: 4 kB / 354.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01953, allocations: 272.9 kB / 355 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01953, allocations: 0 / 355 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.0196, allocations: 27.94 kB / 355.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.02053, allocations: 275.2 kB / 355.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.02056, allocations: 8 kB / 355.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.02302, allocations: 2.374 MB / 357.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.02302, allocations: 7.984 kB / 357.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.02396, allocations: 0.5341 MB / 358.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.02401, allocations: 35.78 kB / 358.3 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.02405, allocations: 8 kB / 358.3 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.02417, allocations: 11.25 kB / 358.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.02425, allocations: 27.94 kB / 358.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.02427, allocations: 12 kB / 358.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.02438, allocations: 201 kB / 358.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02438, allocations: 0 / 358.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.02479, allocations: 127.9 kB / 358.7 MB, free: 7.195 MB / 282.7 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.0001624/0.02495, allocations: 131.2 kB / 358.8 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000814/0.02577, allocations: 0.6329 MB / 359.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02577, allocations: 4.5 kB / 359.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.0263, allocations: 490.2 kB / 359.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.02651, allocations: 28.5 kB / 359.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.02754, allocations: 0.5526 MB / 360.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.0276, allocations: 93.62 kB / 360.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.02769, allocations: 34.33 kB / 360.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.02783, allocations: 122.2 kB / 360.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02783, allocations: 0 / 360.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of Templates: time 0.01097/0.0388, allocations: 7.61 MB / 368.3 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8626847588457167]