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.001151/0.001151, allocations: 110.6 kB / 17.08 MB, free: 5.773 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.001109/0.00111, allocations: 195 kB / 18.03 MB, free: 4.953 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.438/1.438, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05853/0.05853, allocations: 8.088 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002637/0.2594, allocations: 1.916 MB / 416.6 MB, free: 23.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2611, allocations: 1.602 MB / 418.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2613, allocations: 4 kB / 418.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2616, allocations: 139.2 kB / 418.4 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.2619, allocations: 155 kB / 418.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2631, allocations: 0.8558 MB / 419.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.2635, allocations: 346.5 kB / 419.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.2637, allocations: 130.9 kB / 419.8 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.2638, allocations: 135.5 kB / 420 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.264, allocations: 183.3 kB / 420.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2641, allocations: 36 kB / 420.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.2644, allocations: 219.8 kB / 420.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.2644, allocations: 71.75 kB / 420.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2646, allocations: 179.1 kB / 420.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.265, allocations: 0.5042 MB / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.265, allocations: 0 / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2651, allocations: 3.938 kB / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2651, allocations: 0 / 421.1 MB, free: 18.98 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.002218/0.2673, allocations: 0.9218 MB / 422.1 MB, free: 18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2673, allocations: 11.89 kB / 422.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.2676, allocations: 52.55 kB / 422.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2679, allocations: 311.7 kB / 422.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2679, allocations: 20.81 kB / 422.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2679, allocations: 24.38 kB / 422.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.2684, allocations: 327.8 kB / 422.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2684, allocations: 4.188 kB / 422.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.2684, allocations: 15.94 kB / 422.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2685, allocations: 4 kB / 422.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.2689, allocations: 325.6 kB / 423.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.2702, allocations: 1.357 MB / 424.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.271, allocations: 0.5161 MB / 425 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.2712, allocations: 205 kB / 425.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008451/0.2721, allocations: 0.9011 MB / 426.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.2726, allocations: 366.5 kB / 426.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.2726, allocations: 0 / 426.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002714/0.2753, allocations: 1.106 MB / 427.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.2754, allocations: 191.9 kB / 427.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.2756, allocations: 261 kB / 428 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2756, allocations: 37.7 kB / 428.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.2757, allocations: 160.4 kB / 428.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.2758, allocations: 106.5 kB / 428.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2759, allocations: 82.12 kB / 428.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.276, allocations: 334.8 kB / 428.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2762, allocations: 184.8 kB / 428.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.2765, allocations: 272.9 kB / 429.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.2806, allocations: 1.423 MB / 430.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2806, allocations: 0 / 430.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001542/0.2822, allocations: 0.8314 MB / 431.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.2822, allocations: 33.7 kB / 431.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2822, allocations: 4 kB / 431.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.2834, allocations: 312.6 kB / 431.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.2836, allocations: 63.84 kB / 431.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.2867, allocations: 2.937 MB / 434.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.2871, allocations: 43.53 kB / 434.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.2871, allocations: 20.03 kB / 434.8 MB, free: 4.547 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.0002546/0.2874, allocations: 205.5 kB / 435 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2874, allocations: 27.72 kB / 435.1 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2889, allocations: 0.7449 MB / 435.8 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2889, allocations: 7.938 kB / 435.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2889, allocations: 8 kB / 435.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2889, allocations: 0 / 435.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.2893, allocations: 469 kB / 436.3 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2893, allocations: 3.938 kB / 436.3 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.2894, allocations: 27.98 kB / 436.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.2905, allocations: 304.5 kB / 436.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2905, allocations: 8 kB / 436.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.2935, allocations: 2.93 MB / 439.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2936, allocations: 0 / 439.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2951, allocations: 0.7451 MB / 440.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.2952, allocations: 104.8 kB / 440.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.2952, allocations: 11.98 kB / 440.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2954, allocations: 12 kB / 440.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.2955, allocations: 27.97 kB / 440.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2956, allocations: 23.98 kB / 440.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.2958, allocations: 196.3 kB / 440.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 440.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.2963, allocations: 123.9 kB / 440.8 MB, free: 14.32 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.0002017/0.2965, allocations: 127.3 kB / 440.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.2979, allocations: 0.7285 MB / 441.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2979, allocations: 3.938 kB / 441.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008538/0.2987, allocations: 0.5179 MB / 442.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.299, allocations: 23.41 kB / 442.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3, allocations: 0.5912 MB / 442.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.3003, allocations: 0.7686 MB / 443.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.893e-05/0.3004, allocations: 26.36 kB / 443.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3005, allocations: 31.42 kB / 443.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3005, allocations: 0 / 443.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of Templates: time 0.01057/0.3111, allocations: 6.451 MB / 450 MB, free: 4.973 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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1)