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.0007504/0.0007504, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0007305/0.0007305, allocations: 166.3 kB / 24 MB, free: 0.5586 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 0.8299/0.8299, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.02509/0.02509, allocations: 4.47 MB / 265.2 MB, free: 8.777 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 2.104e-06/2.104e-06, allocations: 0 / 390.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.934e-05, allocations: 2.281 kB / 390.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001833/0.001862, allocations: 1.664 MB / 392.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.003776, allocations: 1.586 MB / 394.1 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003886, allocations: 4 kB / 394.1 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.004218, allocations: 139.1 kB / 394.2 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.004496, allocations: 151 kB / 394.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.005347, allocations: 0.7739 MB / 395.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.005669, allocations: 346.3 kB / 395.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.005819, allocations: 79.36 kB / 395.6 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.00596, allocations: 199.6 kB / 395.8 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.006129, allocations: 135.6 kB / 395.9 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.006162, allocations: 32 kB / 395.9 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.006387, allocations: 219.6 kB / 396.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.006431, allocations: 75.67 kB / 396.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.006519, allocations: 115.7 kB / 396.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.006971, allocations: 0.5376 MB / 396.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.006973, allocations: 0 / 396.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006974, allocations: 0 / 396.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.006979, allocations: 0 / 396.9 MB, free: 0.8398 MB / 314.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.00145/0.008429, allocations: 0.8461 MB / 397.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.008463, allocations: 11.97 kB / 397.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.008608, allocations: 48.69 kB / 397.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.00886, allocations: 252.9 kB / 398 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.008877, allocations: 20.88 kB / 398.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.008906, allocations: 24.38 kB / 398.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.009277, allocations: 396 kB / 398.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.009288, allocations: 4.188 kB / 398.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.00931, allocations: 8.375 kB / 398.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.009317, allocations: 8.359 kB / 398.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.009647, allocations: 375.5 kB / 398.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.01062, allocations: 0.8497 MB / 399.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.01111, allocations: 376 kB / 400.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.0113, allocations: 214.8 kB / 400.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.01191, allocations: 0.6326 MB / 400.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/0.01255, allocations: 421.4 kB / 401.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.01255, allocations: 0 / 401.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001678/0.01423, allocations: 1.083 MB / 402.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.0143, allocations: 191.9 kB / 402.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01449, allocations: 273.6 kB / 402.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.01451, allocations: 37.64 kB / 402.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.01458, allocations: 152.7 kB / 403 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.01464, allocations: 115 kB / 403.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.775e-05/0.01473, allocations: 86.17 kB / 403.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.01481, allocations: 342.8 kB / 403.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.01501, allocations: 214.6 kB / 403.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.01524, allocations: 299.2 kB / 404.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.01762, allocations: 1.431 MB / 405.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.01763, allocations: 0 / 405.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001074/0.0187, allocations: 0.8538 MB / 406.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.01874, allocations: 37.7 kB / 406.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01875, allocations: 0 / 406.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006902/0.01944, allocations: 316.5 kB / 406.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01956, allocations: 59.91 kB / 406.8 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.02226, allocations: 2.771 MB / 409.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.02241, allocations: 39.73 kB / 409.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.02243, allocations: 24.03 kB / 409.6 MB, free: 3.562 MB / 330.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.0002148/0.02264, allocations: 216.9 kB / 409.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.02268, allocations: 27.81 kB / 409.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009861/0.02366, allocations: 0.7831 MB / 410.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.02367, allocations: 4 kB / 410.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02367, allocations: 0 / 410.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02367, allocations: 7.984 kB / 410.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.0239, allocations: 313 kB / 410.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0239, allocations: 0 / 410.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.02395, allocations: 27.98 kB / 411 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006027/0.02455, allocations: 304.6 kB / 411.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.02457, allocations: 11.98 kB / 411.3 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.142/0.1666, allocations: 2.735 MB / 414 MB, free: 33.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1666, allocations: 5.906 kB / 414 MB, free: 33.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1676, allocations: 0.7806 MB / 414.8 MB, free: 32.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.1677, allocations: 31.88 kB / 414.8 MB, free: 32.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1677, allocations: 9.719 kB / 414.8 MB, free: 32.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1678, allocations: 12.62 kB / 414.9 MB, free: 32.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.1679, allocations: 28.47 kB / 414.9 MB, free: 32.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1679, allocations: 13.8 kB / 414.9 MB, free: 32.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.168, allocations: 191.2 kB / 415.1 MB, free: 32.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.168, allocations: 3.75 kB / 415.1 MB, free: 32.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.1684, allocations: 124.4 kB / 415.2 MB, free: 32.75 MB / 330.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.0001707/0.1685, allocations: 128.3 kB / 415.3 MB, free: 32.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008605/0.1694, allocations: 0.7596 MB / 416.1 MB, free: 32.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1694, allocations: 0 / 416.1 MB, free: 32.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.1698, allocations: 0.5005 MB / 416.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.17, allocations: 28.19 kB / 416.6 MB, free: 31.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.1708, allocations: 0.6527 MB / 417.3 MB, free: 31.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1709, allocations: 158 kB / 417.4 MB, free: 31.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.1709, allocations: 28.81 kB / 417.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1709, allocations: 1.125 kB / 417.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of Templates: time 0.006427/0.1773, allocations: 5.773 MB / 423.2 MB, free: 30.72 MB / 330.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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.530216357670724] Failed to read output from testmodel.py, exit status != 0: 0.18261043541133404 0.18875519400000002 0.180600214 Calling exit ...