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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009616, allocations: 102.7 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05521/0.05521, allocations: 8.083 MB / 348.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009981/0.0009982, allocations: 55.8 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09597, allocations: 51.52 MB / 462.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002683/0.0987, allocations: 1.945 MB / 464.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1003, allocations: 1.594 MB / 466.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.1004, allocations: 12 kB / 466.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1008, allocations: 123.5 kB / 466.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.101, allocations: 135.2 kB / 466.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1023, allocations: 0.8486 MB / 467.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.1026, allocations: 326.5 kB / 467.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1028, allocations: 99.36 kB / 467.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.1029, allocations: 131.5 kB / 467.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1031, allocations: 171.3 kB / 468 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1031, allocations: 20 kB / 468 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.1034, allocations: 207.8 kB / 468.2 MB, free: 468 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.1035, allocations: 59.69 kB / 468.3 MB, free: 408 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1036, allocations: 155.2 kB / 468.4 MB, free: 252 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.1041, allocations: 0.4988 MB / 468.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1041, allocations: 0 / 468.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1041, allocations: 0 / 468.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1041, allocations: 0 / 468.9 MB, free: 15.75 MB / 314.7 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.002548/0.1067, allocations: 0.9257 MB / 469.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1067, allocations: 8.031 kB / 469.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.107, allocations: 44.55 kB / 469.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1073, allocations: 311.7 kB / 470.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1074, allocations: 16.81 kB / 470.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.1074, allocations: 32.38 kB / 470.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.1079, allocations: 335.7 kB / 470.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.108, allocations: 192 / 470.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.108, allocations: 11.94 kB / 470.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.108, allocations: 4 kB / 470.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.1085, allocations: 329.6 kB / 470.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1103, allocations: 1.353 MB / 472.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008444/0.1111, allocations: 0.5207 MB / 472.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.1115, allocations: 208.7 kB / 473 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.1125, allocations: 0.8971 MB / 473.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.113, allocations: 364.2 kB / 474.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.113, allocations: 0 / 474.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003216/0.1162, allocations: 1.098 MB / 475.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.1163, allocations: 195.9 kB / 475.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1166, allocations: 268.8 kB / 475.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.1167, allocations: 37.7 kB / 475.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1168, allocations: 156.5 kB / 476 MB, free: 8.203 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.1169, allocations: 102.5 kB / 476.1 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.1171, allocations: 86.11 kB / 476.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1172, allocations: 334.8 kB / 476.5 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1176, allocations: 188.8 kB / 476.7 MB, free: 7.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.1179, allocations: 268.8 kB / 476.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004669/0.1226, allocations: 1.419 MB / 478.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1226, allocations: 8 kB / 478.4 MB, free: 5.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001734/0.1243, allocations: 0.8234 MB / 479.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.1244, allocations: 33.7 kB / 479.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1244, allocations: 0 / 479.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.1257, allocations: 320.5 kB / 479.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1259, allocations: 63.95 kB / 479.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.1296, allocations: 2.718 MB / 482.3 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.13, allocations: 43.53 kB / 482.3 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.13, allocations: 20.03 kB / 482.4 MB, free: 1.543 MB / 314.7 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.0002901/0.1303, allocations: 214.9 kB / 482.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.1304, allocations: 23.72 kB / 482.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.1321, allocations: 0.7449 MB / 483.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1321, allocations: 4 kB / 483.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1321, allocations: 4 kB / 483.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1321, allocations: 3.938 kB / 483.4 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.1326, allocations: 473 kB / 483.8 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1326, allocations: 7.922 kB / 483.8 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1789/0.3115, allocations: 20.2 kB / 483.8 MB, free: 28.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.3131, allocations: 310.3 kB / 484.1 MB, free: 28.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.3131, allocations: 9.109 kB / 484.2 MB, free: 28.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.3166, allocations: 2.697 MB / 486.9 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3166, allocations: 1.938 kB / 486.9 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.3187, allocations: 1.561 MB / 488.4 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.3187, allocations: 105.9 kB / 488.5 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.3188, allocations: 14.78 kB / 488.5 MB, free: 25.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.319, allocations: 13.44 kB / 488.5 MB, free: 25.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.3191, allocations: 29.5 kB / 488.6 MB, free: 25.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.3191, allocations: 10.16 kB / 488.6 MB, free: 25.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3193, allocations: 192.7 kB / 488.8 MB, free: 25.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3193, allocations: 2.375 kB / 488.8 MB, free: 25.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005648/0.3199, allocations: 123.4 kB / 488.9 MB, free: 25.77 MB / 314.7 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.0001877/0.3201, allocations: 130.7 kB / 489 MB, free: 25.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3213, allocations: 0.7331 MB / 489.8 MB, free: 25.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3213, allocations: 1.375 kB / 489.8 MB, free: 25.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008114/0.3222, allocations: 0.525 MB / 490.3 MB, free: 24.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.3224, allocations: 26.56 kB / 490.3 MB, free: 24.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3234, allocations: 0.9214 MB / 491.2 MB, free: 24.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3236, allocations: 0.774 MB / 492 MB, free: 23.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.3237, allocations: 32.27 kB / 492 MB, free: 23.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3238, allocations: 26.8 kB / 492.1 MB, free: 23.56 MB / 314.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3238, allocations: 3.719 kB / 492.1 MB, free: 23.56 MB / 314.7 MB Notification: Performance of Templates: time 0.01035/0.3342, allocations: 6.446 MB / 498.5 MB, free: 22.51 MB / 314.7 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)