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.0009123/0.0009125, allocations: 96.86 kB / 15.74 MB, free: 424 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.001034/0.001034, allocations: 171.5 kB / 16.62 MB, free: 6.434 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.443/1.443, allocations: 223.3 MB / 240.7 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2384/0.2384, allocations: 8.084 MB / 299.8 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003201, allocations: 8 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 52.51 MB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002095/0.1143, allocations: 1.479 MB / 416.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1166, allocations: 1.513 MB / 418.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1168, allocations: 4 kB / 418.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1172, allocations: 103.5 kB / 418.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1175, allocations: 127.3 kB / 418.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1188, allocations: 0.693 MB / 419.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.1194, allocations: 306.5 kB / 419.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.1196, allocations: 102.1 kB / 419.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1198, allocations: 115.5 kB / 419.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.12, allocations: 155.4 kB / 419.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.1201, allocations: 16 kB / 420 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.1205, allocations: 195.8 kB / 420.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.1206, allocations: 51.77 kB / 420.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.1207, allocations: 85.58 kB / 420.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.1212, allocations: 379.2 kB / 420.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.1212, allocations: 7.984 kB / 420.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1212, allocations: 0 / 420.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1212, allocations: 0 / 420.7 MB, free: 3.391 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.002567/0.1238, allocations: 0.8672 MB / 421.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1238, allocations: 8.031 kB / 421.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.1241, allocations: 51.56 kB / 421.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1245, allocations: 302.5 kB / 421.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1246, allocations: 24.44 kB / 421.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.1246, allocations: 24 kB / 421.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.1252, allocations: 327.2 kB / 422.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1253, allocations: 0 / 422.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.1253, allocations: 15.94 kB / 422.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1253, allocations: 4 kB / 422.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.1258, allocations: 325.6 kB / 422.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2324/0.3582, allocations: 1.369 MB / 424 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.3591, allocations: 0.498 MB / 424.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3594, allocations: 206.8 kB / 424.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009175/0.3603, allocations: 0.8944 MB / 425.6 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.3607, allocations: 364.8 kB / 425.9 MB, free: 39.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.3607, allocations: 0.9062 kB / 425.9 MB, free: 39.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002576/0.3633, allocations: 1.085 MB / 427 MB, free: 39.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3634, allocations: 194.5 kB / 427.2 MB, free: 39.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3636, allocations: 267 kB / 427.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3637, allocations: 34.98 kB / 427.5 MB, free: 39.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.3637, allocations: 161.5 kB / 427.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.3638, allocations: 106.2 kB / 427.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.3638, allocations: 8.312 kB / 427.8 MB, free: 39.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.3639, allocations: 336.6 kB / 428.1 MB, free: 38.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3642, allocations: 187.1 kB / 428.3 MB, free: 38.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3644, allocations: 270.8 kB / 428.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3647, allocations: 242.8 kB / 428.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3647, allocations: 3.25 kB / 428.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001408/0.3661, allocations: 0.8238 MB / 429.6 MB, free: 38.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.3662, allocations: 38.33 kB / 429.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3662, allocations: 0 / 429.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.3673, allocations: 318.3 kB / 429.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3676, allocations: 58.03 kB / 430 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.371, allocations: 2.721 MB / 432.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.3713, allocations: 35.88 kB / 432.8 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.3713, allocations: 18.22 kB / 432.8 MB, free: 37.25 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.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real 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 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.lnFault.myFault.fault,lnFault.myFault.fault,$PRE.lnFault.myFault.Y.re,lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.3716, allocations: 218.6 kB / 433 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3717, allocations: 25.64 kB / 433 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3732, allocations: 0.7446 MB / 433.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3733, allocations: 3.156 kB / 433.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3733, allocations: 3.656 kB / 433.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3733, allocations: 3.375 kB / 433.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.3736, allocations: 475.8 kB / 434.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3736, allocations: 1.266 kB / 434.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.3737, allocations: 35.39 kB / 434.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.3748, allocations: 305.5 kB / 434.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.3748, allocations: 8.578 kB / 434.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.3777, allocations: 2.701 MB / 437.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3777, allocations: 0 / 437.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3789, allocations: 0.736 MB / 438 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.379, allocations: 119.6 kB / 438.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3791, allocations: 10.38 kB / 438.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3792, allocations: 13.62 kB / 438.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.3793, allocations: 28.25 kB / 438.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3794, allocations: 10.69 kB / 438.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3795, allocations: 187.9 kB / 438.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3795, allocations: 0 / 438.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.38, allocations: 130.8 kB / 438.5 MB, free: 33.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.3802, allocations: 123.3 kB / 438.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3813, allocations: 0.7442 MB / 439.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3813, allocations: 0 / 439.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.382, allocations: 0.5213 MB / 439.9 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3823, allocations: 29.77 kB / 439.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.3831, allocations: 0.6828 MB / 440.6 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3833, allocations: 0.7623 MB / 441.4 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3834, allocations: 38.81 kB / 441.4 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3835, allocations: 27.92 kB / 441.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3835, allocations: 0 / 441.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of Templates: time 0.008635/0.3921, allocations: 5.84 MB / 447.3 MB, free: 31.21 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: