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-master/package.mo", uses=false) 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=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.001424/0.001424, allocations: 112 kB / 16.69 MB, free: 6.273 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.001252/0.001252, allocations: 196.2 kB / 17.61 MB, free: 5.734 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.312/1.312, allocations: 222.9 MB / 241.3 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04888/0.04888, allocations: 8.104 MB / 299.5 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.91 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2045, allocations: 51.51 MB / 413.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002437/0.2069, allocations: 1.952 MB / 415.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2084, allocations: 1.579 MB / 416.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.2086, allocations: 4 kB / 416.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.2089, allocations: 119.4 kB / 417 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.2092, allocations: 143.3 kB / 417.2 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2103, allocations: 0.8056 MB / 418 MB, free: 21.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2107, allocations: 350.5 kB / 418.3 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.2109, allocations: 134.9 kB / 418.5 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.211, allocations: 135.5 kB / 418.6 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.2112, allocations: 183.3 kB / 418.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.2112, allocations: 32 kB / 418.8 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.2116, allocations: 223.8 kB / 419 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.2116, allocations: 67.7 kB / 419.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2117, allocations: 175.2 kB / 419.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.2121, allocations: 393.2 kB / 419.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2121, allocations: 0 / 419.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2121, allocations: 0 / 419.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2121, allocations: 3.938 kB / 419.6 MB, free: 19.51 MB / 302.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.002171/0.2143, allocations: 0.9217 MB / 420.6 MB, free: 18.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2143, allocations: 15.89 kB / 420.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.2146, allocations: 56.53 kB / 420.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2148, allocations: 303.8 kB / 420.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2149, allocations: 20.81 kB / 421 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.2149, allocations: 24.38 kB / 421 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.2153, allocations: 339.7 kB / 421.3 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2153, allocations: 192 / 421.3 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.2154, allocations: 11.94 kB / 421.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.2154, allocations: 8 kB / 421.3 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.2158, allocations: 321.6 kB / 421.6 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2171, allocations: 1.361 MB / 423 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.2178, allocations: 0.5153 MB / 423.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.218, allocations: 209 kB / 423.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/0.2188, allocations: 0.8972 MB / 424.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.2192, allocations: 363.1 kB / 425 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2192, allocations: 0 / 425 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002729/0.2219, allocations: 1.106 MB / 426.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.222, allocations: 187.9 kB / 426.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2222, allocations: 265 kB / 426.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2222, allocations: 33.7 kB / 426.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2223, allocations: 160.4 kB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.2224, allocations: 110.5 kB / 426.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2225, allocations: 78.12 kB / 426.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.2225, allocations: 338.8 kB / 427.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2228, allocations: 180.8 kB / 427.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.223, allocations: 276.8 kB / 427.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/0.2272, allocations: 1.423 MB / 429.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2272, allocations: 0 / 429.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001556/0.2288, allocations: 0.8311 MB / 429.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.2288, allocations: 33.73 kB / 430 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2288, allocations: 4 kB / 430 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.2301, allocations: 320.5 kB / 430.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.2303, allocations: 59.91 kB / 430.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.2333, allocations: 2.93 MB / 433.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.2336, allocations: 47.56 kB / 433.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.2336, allocations: 23.88 kB / 433.3 MB, free: 5.07 MB / 302.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.0002222/0.2339, allocations: 211.9 kB / 433.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.2339, allocations: 31.72 kB / 433.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.2354, allocations: 0.737 MB / 434.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2354, allocations: 7.938 kB / 434.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2354, allocations: 4 kB / 434.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2354, allocations: 7.922 kB / 434.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2357, allocations: 473 kB / 434.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2357, allocations: 0 / 434.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.2358, allocations: 23.98 kB / 434.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.2369, allocations: 304.5 kB / 435.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.237, allocations: 12 kB / 435.1 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.2398, allocations: 2.93 MB / 438.1 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2398, allocations: 0 / 438.1 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.2414, allocations: 0.7451 MB / 438.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.2415, allocations: 104.8 kB / 438.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.2415, allocations: 12 kB / 438.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2418, allocations: 8 kB / 438.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.2418, allocations: 35.95 kB / 439 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.2419, allocations: 8 kB / 439 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.2421, allocations: 196.4 kB / 439.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2421, allocations: 0 / 439.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.2426, allocations: 123.9 kB / 439.3 MB, free: 14.85 MB / 318.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.0002023/0.2428, allocations: 137.3 kB / 439.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.2444, allocations: 0.744 MB / 440.2 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2444, allocations: 0 / 440.2 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008938/0.2453, allocations: 0.5184 MB / 440.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2456, allocations: 24.44 kB / 440.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2466, allocations: 0.7216 MB / 441.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.247, allocations: 0.7647 MB / 442.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.2471, allocations: 31.42 kB / 442.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2471, allocations: 0 / 442.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of Templates: time 0.007969/0.255, allocations: 5.639 MB / 447.9 MB, free: 6.16 MB / 318.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)