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.001396/0.001396, allocations: 80.98 kB / 20.7 MB, free: 3.797 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.004898/0.004898, allocations: 169.7 kB / 24.09 MB, free: 416 kB / 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.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.168 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.02562/0.02562, allocations: 4.483 MB / 265.6 MB, free: 8.277 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.693e-06/1.693e-06, allocations: 0 / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.254e-05, allocations: 8.984 kB / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002718/0.00274, allocations: 1.757 MB / 338.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.004666, allocations: 1.621 MB / 340.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.004843, allocations: 4 kB / 340.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.005267, allocations: 147 kB / 340.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.00563, allocations: 158.9 kB / 340.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.007206, allocations: 0.7662 MB / 341.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000613/0.007819, allocations: 346.2 kB / 341.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.008041, allocations: 79.36 kB / 341.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.008302, allocations: 207.5 kB / 342 MB, free: 7.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.008574, allocations: 139.6 kB / 342.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.008632, allocations: 32 kB / 342.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.009142, allocations: 223.6 kB / 342.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.009202, allocations: 75.67 kB / 342.5 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.00932, allocations: 111.8 kB / 342.6 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.009972, allocations: 434.6 kB / 343 MB, free: 6.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.009977, allocations: 0 / 343 MB, free: 6.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.00998, allocations: 0 / 343 MB, free: 6.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.009989, allocations: 4 kB / 343 MB, free: 6.926 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.002336/0.01233, allocations: 0.9653 MB / 344 MB, free: 5.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.01239, allocations: 16.03 kB / 344 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.01272, allocations: 72.67 kB / 344 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.01306, allocations: 224.2 kB / 344.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.01309, allocations: 20.88 kB / 344.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.01314, allocations: 32.31 kB / 344.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.01355, allocations: 224 kB / 344.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01357, allocations: 192 / 344.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.0136, allocations: 12.38 kB / 344.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.01362, allocations: 4.375 kB / 344.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.01385, allocations: 133 kB / 344.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.01517, allocations: 0.8182 MB / 345.5 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.01565, allocations: 249.2 kB / 345.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.01578, allocations: 105.4 kB / 345.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.01649, allocations: 0.6601 MB / 346.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.01677, allocations: 323 kB / 346.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.01677, allocations: 0 / 346.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001913/0.01868, allocations: 0.7459 MB / 347.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.01874, allocations: 191.9 kB / 347.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.01894, allocations: 304 kB / 348 MB, free: 1.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.01896, allocations: 33.7 kB / 348.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.01904, allocations: 215.4 kB / 348.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.01911, allocations: 111.1 kB / 348.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.01923, allocations: 87.8 kB / 348.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.0193, allocations: 0.5156 MB / 349 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.01942, allocations: 102.6 kB / 349.1 MB, free: 472 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.01959, allocations: 223.5 kB / 349.3 MB, free: 204 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.02013, allocations: 478.7 kB / 349.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.02013, allocations: 0 / 349.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001192/0.02133, allocations: 0.5717 MB / 350.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.02136, allocations: 35.73 kB / 350.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02137, allocations: 4 kB / 350.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.02248, allocations: 275.3 kB / 350.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.02268, allocations: 67.84 kB / 350.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.02543, allocations: 2.394 MB / 353.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.02568, allocations: 39.67 kB / 353.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.02571, allocations: 12 kB / 353.2 MB, free: 12.13 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.0002888/0.026, allocations: 243.4 kB / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.02608, allocations: 43.75 kB / 353.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.02723, allocations: 0.509 MB / 354 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02723, allocations: 0 / 354 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.02724, allocations: 4 kB / 354 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.02724, allocations: 3.984 kB / 354 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.02754, allocations: 268.9 kB / 354.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02754, allocations: 4 kB / 354.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.02762, allocations: 27.92 kB / 354.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.02866, allocations: 279.5 kB / 354.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.02869, allocations: 8 kB / 354.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.03064, allocations: 2.385 MB / 356.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.03064, allocations: 0 / 356.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.03138, allocations: 0.5341 MB / 357.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.03141, allocations: 31.78 kB / 357.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.03144, allocations: 8 kB / 357.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.03154, allocations: 8 kB / 357.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.0316, allocations: 27.95 kB / 357.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.03162, allocations: 8 kB / 357.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.03172, allocations: 205 kB / 357.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03172, allocations: 0 / 357.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.03209, allocations: 127.9 kB / 357.9 MB, free: 7.211 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.0001828/0.03227, allocations: 127.2 kB / 358 MB, free: 7.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008014/0.03307, allocations: 0.6447 MB / 358.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03307, allocations: 0 / 358.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.03352, allocations: 486.7 kB / 359.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.03371, allocations: 32.48 kB / 359.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.03466, allocations: 0.5554 MB / 359.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.03473, allocations: 97.56 kB / 359.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.934e-05/0.03481, allocations: 34.39 kB / 359.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.03493, allocations: 118.2 kB / 359.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of SimCode: time 1.253e-06/0.03493, allocations: 4 kB / 360 MB, free: 4.98 MB / 282.7 MB Notification: Performance of Templates: time 0.008796/0.04373, allocations: 7.43 MB / 367.4 MB, free: 13.59 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.936921312008053]