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.001623/0.001623, allocations: 116.5 kB / 17.13 MB, free: 5.922 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.001702/0.001702, allocations: 197.1 kB / 18.06 MB, free: 5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.638/2.638, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.09296/0.09296, allocations: 8.097 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 67.91 kB / 415.1 MB, free: 21.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1797, allocations: 51.52 MB / 466.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.007312/0.1871, allocations: 1.913 MB / 468.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.1921, allocations: 1.602 MB / 470.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.1926, allocations: 8 kB / 470.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.1935, allocations: 131.2 kB / 470.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1947, allocations: 155.1 kB / 470.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.1982, allocations: 0.8596 MB / 471.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.1993, allocations: 358.4 kB / 471.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.1998, allocations: 134.7 kB / 471.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.2002, allocations: 143.4 kB / 471.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.2008, allocations: 179.3 kB / 472.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.2009, allocations: 32 kB / 472.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.202, allocations: 227.8 kB / 472.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2021, allocations: 71.69 kB / 472.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.2025, allocations: 171.2 kB / 472.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.204, allocations: 0.518 MB / 473.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2041, allocations: 0 / 473.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2041, allocations: 0 / 473.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.2041, allocations: 3.984 kB / 473.1 MB, free: 11.76 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.005636/0.2098, allocations: 0.9102 MB / 474 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.013e-05/0.2099, allocations: 8.031 kB / 474.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005305/0.2104, allocations: 48.53 kB / 474.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.2112, allocations: 315.6 kB / 474.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.2112, allocations: 16.81 kB / 474.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.2113, allocations: 28.38 kB / 474.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.2125, allocations: 339.7 kB / 474.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2125, allocations: 192 / 474.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.2126, allocations: 15.94 kB / 474.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2126, allocations: 4 kB / 474.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.2136, allocations: 325.6 kB / 475.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.2171, allocations: 1.35 MB / 476.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.2188, allocations: 0.5087 MB / 477 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.2194, allocations: 212.7 kB / 477.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/0.2217, allocations: 0.9013 MB / 478.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009486/0.2227, allocations: 362 kB / 478.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.428e-06/0.2227, allocations: 0 / 478.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.006065/0.2288, allocations: 1.095 MB / 479.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.2291, allocations: 191.9 kB / 479.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.2299, allocations: 272.8 kB / 480 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.2301, allocations: 37.7 kB / 480 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.2304, allocations: 164.4 kB / 480.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.2308, allocations: 94.64 kB / 480.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.2312, allocations: 86.03 kB / 480.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003398/0.2316, allocations: 338.8 kB / 480.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.2323, allocations: 184.8 kB / 480.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/0.2333, allocations: 272.8 kB / 481.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009525/0.2428, allocations: 1.416 MB / 482.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.2429, allocations: 0 / 482.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003661/0.2466, allocations: 0.8234 MB / 483.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/0.2467, allocations: 37.64 kB / 483.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.2467, allocations: 4 kB / 483.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.2492, allocations: 316.5 kB / 483.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.2498, allocations: 63.91 kB / 483.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/0.2571, allocations: 2.937 MB / 486.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.2578, allocations: 47.59 kB / 486.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.2579, allocations: 12 kB / 486.8 MB, free: 13.37 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.0006553/0.2586, allocations: 212 kB / 487 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2587, allocations: 27.62 kB / 487 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.2616, allocations: 0.7408 MB / 487.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.2617, allocations: 12.03 kB / 487.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2617, allocations: 0 / 487.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.2617, allocations: 11.98 kB / 487.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.2625, allocations: 465.1 kB / 488.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.2626, allocations: 0 / 488.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.2628, allocations: 27.94 kB / 488.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/0.265, allocations: 304.5 kB / 488.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.2651, allocations: 8 kB / 488.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007811/0.2729, allocations: 2.926 MB / 491.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.273, allocations: 112 / 491.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.2763, allocations: 0.7449 MB / 492.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.2766, allocations: 104.8 kB / 492.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.2767, allocations: 12 kB / 492.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.2772, allocations: 8 kB / 492.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.2774, allocations: 27.95 kB / 492.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.2775, allocations: 16 kB / 492.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.2779, allocations: 192.4 kB / 492.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.278, allocations: 0 / 492.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001128/0.2791, allocations: 135.8 kB / 492.7 MB, free: 7.145 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.0004194/0.2796, allocations: 131.2 kB / 492.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.2827, allocations: 0.7404 MB / 493.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2827, allocations: 0 / 493.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.2845, allocations: 0.5173 MB / 494.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.285, allocations: 28.77 kB / 494.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2873, allocations: 0.6168 MB / 494.8 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.2881, allocations: 0.7686 MB / 495.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2883, allocations: 27.44 kB / 495.6 MB, free: 4.199 MB / 366.1 MB Notification: Performance of SimCode: time 2.064e-06/0.2883, allocations: 0 / 495.6 MB, free: 4.199 MB / 366.1 MB Notification: Performance of Templates: time 0.0169/0.3052, allocations: 5.716 MB / 0.4895 GB, free: 14.48 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)