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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 114.9 kB / 17.8 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 187.8 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1585/0.1585, allocations: 8.08 MB / 306.7 MB, free: 2.645 MB / 238.1 MB " [Timeout remaining time 180] 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.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 0.001878/0.001878, allocations: 75.86 kB / 423.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2046, allocations: 51.51 MB / 475.4 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002485/0.2071, allocations: 1.913 MB / 477.3 MB, free: 20.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.209, allocations: 1.591 MB / 478.9 MB, free: 19.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.2092, allocations: 5.344 kB / 478.9 MB, free: 19.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.2097, allocations: 140.1 kB / 479 MB, free: 19.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.2101, allocations: 152.1 kB / 479.2 MB, free: 19.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.2114, allocations: 0.871 MB / 480.1 MB, free: 18.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.2119, allocations: 349.8 kB / 480.4 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2121, allocations: 137.7 kB / 480.5 MB, free: 18.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.2123, allocations: 136.5 kB / 480.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.2126, allocations: 183.5 kB / 480.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.2126, allocations: 32.59 kB / 480.9 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/0.2131, allocations: 226.6 kB / 481.1 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.2131, allocations: 69.12 kB / 481.2 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.2133, allocations: 176.3 kB / 481.3 MB, free: 17.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.2139, allocations: 0.5037 MB / 481.8 MB, free: 17.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2139, allocations: 0 / 481.8 MB, free: 17.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2139, allocations: 0 / 481.8 MB, free: 17.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.2139, allocations: 0 / 481.8 MB, free: 17.37 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.002427/0.2164, allocations: 0.9323 MB / 482.8 MB, free: 16.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2164, allocations: 12.23 kB / 482.8 MB, free: 16.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.2167, allocations: 54.78 kB / 482.8 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.217, allocations: 309.2 kB / 483.1 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.217, allocations: 19.22 kB / 483.2 MB, free: 16.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.217, allocations: 30.19 kB / 483.2 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.2175, allocations: 335.4 kB / 483.5 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2175, allocations: 5.297 kB / 483.5 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2176, allocations: 14.22 kB / 483.5 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2176, allocations: 5.406 kB / 483.5 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.218, allocations: 321.7 kB / 483.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.2196, allocations: 1.368 MB / 485.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.2204, allocations: 0.4986 MB / 485.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.2207, allocations: 213.3 kB / 485.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008465/0.2215, allocations: 0.896 MB / 486.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.222, allocations: 367.7 kB / 487.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.222, allocations: 0 / 487.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002858/0.2248, allocations: 1.099 MB / 488.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.2249, allocations: 202.7 kB / 488.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.2251, allocations: 259.5 kB / 488.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.2252, allocations: 37.83 kB / 488.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.2253, allocations: 163.6 kB / 488.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.2253, allocations: 104.9 kB / 489 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.2255, allocations: 82.48 kB / 489.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.2255, allocations: 337.6 kB / 489.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.2258, allocations: 185.4 kB / 489.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.2261, allocations: 270.5 kB / 489.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.2304, allocations: 1.417 MB / 491.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2304, allocations: 0 / 491.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001651/0.232, allocations: 0.8208 MB / 492.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.2321, allocations: 38.39 kB / 492.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2321, allocations: 5.484 kB / 492.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.2333, allocations: 312.6 kB / 492.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.2335, allocations: 61.09 kB / 492.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.2367, allocations: 2.948 MB / 495.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.237, allocations: 50.17 kB / 495.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.2371, allocations: 16.12 kB / 495.5 MB, free: 6.879 MB / 350.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.0002212/0.2373, allocations: 199 kB / 495.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.2374, allocations: 34.06 kB / 495.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2389, allocations: 0.7486 MB / 496.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2389, allocations: 5.75 kB / 496.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2389, allocations: 3.562 kB / 496.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2389, allocations: 3.984 kB / 496.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.2392, allocations: 471.6 kB / 497 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2392, allocations: 0 / 497 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.2393, allocations: 24.45 kB / 497 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.2405, allocations: 310.8 kB / 497.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.2405, allocations: 13.09 kB / 497.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.2434, allocations: 2.928 MB / 0.4885 GB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2434, allocations: 4 kB / 0.4885 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.2447, allocations: 0.7375 MB / 0.4893 GB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.2448, allocations: 112.8 kB / 0.4894 GB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.2449, allocations: 16 kB / 0.4894 GB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2451, allocations: 12 kB / 0.4894 GB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.2452, allocations: 31.89 kB / 0.4894 GB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.2452, allocations: 12 kB / 0.4894 GB, free: 1.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.2453, allocations: 192.4 kB / 0.4896 GB, free: 1.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2453, allocations: 0 / 0.4896 GB, free: 1.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004243/0.2458, allocations: 120 kB / 0.4897 GB, free: 1.297 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: 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.000171/0.2459, allocations: 128.9 kB / 0.4899 GB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.247, allocations: 0.7479 MB / 0.4906 GB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2471, allocations: 3.938 kB / 0.4906 GB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.2478, allocations: 0.5334 MB / 0.4911 GB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2481, allocations: 24.44 kB / 0.4911 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2492, allocations: 0.6105 MB / 0.4917 GB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.2496, allocations: 0.7724 MB / 0.4925 GB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.2497, allocations: 27.42 kB / 0.4925 GB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2497, allocations: 0 / 0.4925 GB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.008965/0.2586, allocations: 5.673 MB / 0.4981 GB, free: 8.664 MB / 366.1 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: 6.637268216116354] Failed to read output from testmodel.py, exit status != 0: 0.2655593079980463 0.277585994 0.061211063 Calling exit ...