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.001035/0.001035, allocations: 123.3 kB / 17.14 MB, free: 5.914 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.001009/0.001009, allocations: 190.3 kB / 18.06 MB, free: 4.996 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.326/1.326, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04697/0.04697, allocations: 8.099 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07759/0.07875, allocations: 51.51 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002781/0.08156, allocations: 1.917 MB / 468.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.08348, allocations: 1.59 MB / 470.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.08359, allocations: 12 kB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.08394, allocations: 139.2 kB / 470.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.08428, allocations: 143.1 kB / 470.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.08575, allocations: 0.8711 MB / 471.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.08617, allocations: 350.4 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.08639, allocations: 134.6 kB / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.08653, allocations: 151.4 kB / 471.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.08678, allocations: 175.3 kB / 472.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.08683, allocations: 32 kB / 472.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.08719, allocations: 223.8 kB / 472.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.08725, allocations: 67.75 kB / 472.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.08741, allocations: 175.2 kB / 472.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.08794, allocations: 0.5141 MB / 473.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.08796, allocations: 0 / 473.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08796, allocations: 0 / 473.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.08798, allocations: 4 kB / 473.1 MB, free: 11.66 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.00255/0.09053, allocations: 0.9063 MB / 474 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.09058, allocations: 19.83 kB / 474.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.09083, allocations: 48.55 kB / 474.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.09117, allocations: 319.6 kB / 474.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.09119, allocations: 16.81 kB / 474.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.09125, allocations: 28.38 kB / 474.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.09177, allocations: 331.7 kB / 474.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.09179, allocations: 192 / 474.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.09183, allocations: 11.94 kB / 474.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.09184, allocations: 11.94 kB / 474.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.09232, allocations: 329.6 kB / 475.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.09399, allocations: 1.346 MB / 476.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.09488, allocations: 0.5126 MB / 477 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.09518, allocations: 212.7 kB / 477.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009719/0.09616, allocations: 0.8974 MB / 478.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.09665, allocations: 362 kB / 478.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.09666, allocations: 0 / 478.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003125/0.09979, allocations: 1.095 MB / 479.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.09989, allocations: 191.9 kB / 479.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1002, allocations: 272.8 kB / 480 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.1002, allocations: 37.64 kB / 480 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.1003, allocations: 164.4 kB / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.1004, allocations: 98.64 kB / 480.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1005, allocations: 86.02 kB / 480.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1006, allocations: 338.8 kB / 480.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.1009, allocations: 184.8 kB / 480.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.1013, allocations: 268.8 kB / 481.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004622/0.1059, allocations: 1.416 MB / 482.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.1059, allocations: 8 kB / 482.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001752/0.1077, allocations: 0.8273 MB / 483.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.1077, allocations: 33.7 kB / 483.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1077, allocations: 0 / 483.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.109, allocations: 308.6 kB / 483.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1093, allocations: 67.91 kB / 483.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.1131, allocations: 2.945 MB / 486.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.1135, allocations: 43.56 kB / 486.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.1135, allocations: 20.03 kB / 486.8 MB, free: 13.25 MB / 366.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.0002708/0.1138, allocations: 208 kB / 487 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.1139, allocations: 27.62 kB / 487 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.1156, allocations: 0.7408 MB / 487.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1156, allocations: 8.031 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1156, allocations: 4 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1156, allocations: 3.984 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.116, allocations: 473.1 kB / 488.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.116, allocations: 0 / 488.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1162, allocations: 31.92 kB / 488.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.1174, allocations: 308.5 kB / 488.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1174, allocations: 8 kB / 488.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.1211, allocations: 2.918 MB / 491.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1212, allocations: 4 kB / 491.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.1228, allocations: 0.749 MB / 492.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.1229, allocations: 100.8 kB / 492.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.1229, allocations: 19.98 kB / 492.4 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1231, allocations: 8 kB / 492.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.1232, allocations: 23.97 kB / 492.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1233, allocations: 11.98 kB / 492.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1234, allocations: 196.4 kB / 492.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1235, allocations: 4 kB / 492.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.1239, allocations: 127.8 kB / 492.7 MB, free: 7.027 MB / 366.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.000189/0.1241, allocations: 135.2 kB / 492.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1255, allocations: 0.7362 MB / 493.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1255, allocations: 0.5 kB / 493.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.1263, allocations: 0.5213 MB / 494.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.1266, allocations: 24.44 kB / 494.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.1276, allocations: 0.6114 MB / 494.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1279, allocations: 0.7686 MB / 495.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.128, allocations: 27.44 kB / 495.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.128, allocations: 0 / 495.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of Templates: time 0.007912/0.1359, allocations: 5.675 MB / 0.4895 GB, free: 14.41 MB / 382.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)