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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0008192/0.000819, allocations: 101.9 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 181.3 kB / 16.96 MB, free: 6.879 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2701/0.2701, allocations: 8.087 MB / 300.2 MB, free: 2.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003507, allocations: 12 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 52.51 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002129/0.1392, allocations: 1.579 MB / 417.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1418, allocations: 1.583 MB / 419.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.1421, allocations: 4 kB / 419.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.1426, allocations: 127.5 kB / 419.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.1432, allocations: 127.3 kB / 419.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.145, allocations: 0.8252 MB / 420.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007244/0.1457, allocations: 322.6 kB / 420.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.146, allocations: 107.1 kB / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.1462, allocations: 123.4 kB / 420.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.1466, allocations: 159.3 kB / 420.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.1466, allocations: 20 kB / 421 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.1472, allocations: 203.8 kB / 421.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.1473, allocations: 55.64 kB / 421.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.1475, allocations: 173 kB / 421.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008046/0.1483, allocations: 494.7 kB / 421.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1483, allocations: 0 / 421.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1483, allocations: 0 / 421.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1483, allocations: 0 / 421.9 MB, free: 2.488 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.002724/0.1511, allocations: 0.8773 MB / 422.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1511, allocations: 8.031 kB / 422.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.1514, allocations: 48.55 kB / 422.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1519, allocations: 315.6 kB / 423.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1519, allocations: 16.81 kB / 423.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.149e-05/0.152, allocations: 32.36 kB / 423.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.1525, allocations: 327.8 kB / 423.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1526, allocations: 192 / 423.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.1526, allocations: 19.92 kB / 423.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1526, allocations: 4 kB / 423.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.1531, allocations: 325.6 kB / 423.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2549/0.408, allocations: 1.361 MB / 425.2 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.4089, allocations: 0.5027 MB / 425.7 MB, free: 40.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.4091, allocations: 203.6 kB / 425.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000948/0.4101, allocations: 0.9036 MB / 426.8 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.4105, allocations: 357 kB / 427.1 MB, free: 40.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.609e-06/0.4106, allocations: 3.406 kB / 427.1 MB, free: 40.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002937/0.4135, allocations: 1.096 MB / 428.2 MB, free: 39.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.4136, allocations: 196.6 kB / 428.4 MB, free: 39.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.4138, allocations: 268.8 kB / 428.7 MB, free: 39.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.4139, allocations: 37.11 kB / 428.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.414, allocations: 161 kB / 428.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.414, allocations: 101.6 kB / 429 MB, free: 39.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.4141, allocations: 50.02 kB / 429 MB, free: 39.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.4142, allocations: 337.7 kB / 429.3 MB, free: 39.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.4144, allocations: 186 kB / 429.5 MB, free: 39.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.4147, allocations: 266.4 kB / 429.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/0.4191, allocations: 1.432 MB / 431.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4192, allocations: 0 / 431.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00162/0.4208, allocations: 0.821 MB / 432 MB, free: 38.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.4208, allocations: 38.41 kB / 432.1 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4209, allocations: 4.094 kB / 432.1 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.4221, allocations: 323.3 kB / 432.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.4223, allocations: 59.19 kB / 432.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.4255, allocations: 2.717 MB / 435.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.4259, allocations: 40.59 kB / 435.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.4259, allocations: 24.33 kB / 435.2 MB, free: 36.79 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.0002759/0.4262, allocations: 209.8 kB / 435.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.4263, allocations: 28.59 kB / 435.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.4278, allocations: 0.7509 MB / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4278, allocations: 9.75 kB / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4278, allocations: 4.594 kB / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4278, allocations: 1.359 kB / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.4282, allocations: 467 kB / 436.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4282, allocations: 0 / 436.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.4283, allocations: 30.91 kB / 436.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.4294, allocations: 306.5 kB / 437 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.4294, allocations: 11.12 kB / 437 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.4323, allocations: 2.714 MB / 439.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4324, allocations: 0 / 439.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.4337, allocations: 0.7356 MB / 440.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.4338, allocations: 114.5 kB / 440.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.4338, allocations: 10.47 kB / 440.6 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.434, allocations: 19.47 kB / 440.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.4341, allocations: 29.92 kB / 440.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.4341, allocations: 13.66 kB / 440.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4343, allocations: 188.5 kB / 440.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4343, allocations: 0 / 440.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.4348, allocations: 130.1 kB / 441 MB, free: 33.07 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.0001847/0.435, allocations: 123.2 kB / 441.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4361, allocations: 0.7383 MB / 441.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4361, allocations: 0 / 441.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.4368, allocations: 0.5271 MB / 442.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.4371, allocations: 22.03 kB / 442.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.4379, allocations: 0.7258 MB / 443.1 MB, free: 31.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4381, allocations: 0.7643 MB / 443.9 MB, free: 31.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4382, allocations: 30.73 kB / 443.9 MB, free: 31.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.4383, allocations: 23.69 kB / 443.9 MB, free: 31.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4383, allocations: 1.125 kB / 443.9 MB, free: 31.03 MB / 350.1 MB Notification: Performance of Templates: time 0.009266/0.4476, allocations: 5.985 MB / 449.9 MB, free: 30.63 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: