Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, 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.319/1.319, allocations: 222.9 MB / 240.3 MB, free: 11 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.001189/0.001189, allocations: 104.1 kB / 290.6 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04772/0.04772, allocations: 8.084 MB / 348.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009994/0.0009995, allocations: 49.39 kB / 411.1 MB, free: 57.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08071/0.08173, allocations: 51.52 MB / 462.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002611/0.08438, allocations: 2.463 MB / 465.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.086, allocations: 1.719 MB / 466.8 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.08613, allocations: 4 kB / 466.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.08655, allocations: 139.4 kB / 466.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.08692, allocations: 190.9 kB / 467.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.08832, allocations: 1.008 MB / 468.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.08866, allocations: 453.8 kB / 468.6 MB, free: 52 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.0889, allocations: 136.5 kB / 468.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.08906, allocations: 179.2 kB / 468.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.08935, allocations: 243 kB / 469.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.08941, allocations: 28 kB / 469.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.08979, allocations: 235.8 kB / 469.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.08987, allocations: 79.61 kB / 469.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.09007, allocations: 222.9 kB / 469.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.09072, allocations: 0.6312 MB / 470.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09074, allocations: 0 / 470.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.09075, allocations: 0 / 470.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.09076, allocations: 0 / 470.3 MB, free: 14.31 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003582/0.09435, allocations: 1.179 MB / 471.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.09439, allocations: 8.031 kB / 471.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.09464, allocations: 72.28 kB / 471.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.0951, allocations: 359.5 kB / 471.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.09514, allocations: 29.03 kB / 471.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.0952, allocations: 32.38 kB / 472 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.0959, allocations: 458.5 kB / 472.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.09592, allocations: 192 / 472.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.09597, allocations: 15.94 kB / 472.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.09598, allocations: 4 kB / 472.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.09664, allocations: 454.5 kB / 472.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.09909, allocations: 1.991 MB / 474.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1002, allocations: 0.6852 MB / 475.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.1006, allocations: 309.1 kB / 475.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-05/0.1007, allocations: 4 kB / 475.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.1013, allocations: 468.6 kB / 476.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.884e-06/0.1013, allocations: 0 / 476.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.00577/0.1071, allocations: 1.802 MB / 478.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.1072, allocations: 196.3 kB / 478.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.1076, allocations: 310.8 kB / 478.6 MB, free: 5.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.1077, allocations: 37.7 kB / 478.7 MB, free: 5.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1079, allocations: 168.9 kB / 478.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.108, allocations: 165.6 kB / 479 MB, free: 5.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.1082, allocations: 102.2 kB / 479.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1083, allocations: 346.8 kB / 479.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.1088, allocations: 281.1 kB / 479.7 MB, free: 4.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.1092, allocations: 339.8 kB / 480 MB, free: 4.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/0.1166, allocations: 2.074 MB / 482.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1166, allocations: 0 / 482.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00272/0.1193, allocations: 1.188 MB / 483.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.1194, allocations: 41.69 kB / 483.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.1194, allocations: 7.938 kB / 483.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/0.1216, allocations: 0.5197 MB / 483.9 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.122, allocations: 79.84 kB / 483.9 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1826/0.3046, allocations: 3.633 MB / 487.6 MB, free: 26.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.3052, allocations: 50.38 kB / 487.6 MB, free: 26.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.3052, allocations: 21.78 kB / 487.6 MB, free: 26.43 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real line2.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: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.3056, allocations: 220.8 kB / 487.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.3057, allocations: 37.56 kB / 487.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.3084, allocations: 1.143 MB / 489 MB, free: 25.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3084, allocations: 5.375 kB / 489 MB, free: 25.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3084, allocations: 1.781 kB / 489 MB, free: 25.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3084, allocations: 3.797 kB / 489 MB, free: 25.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.3116, allocations: 1.828 MB / 490.9 MB, free: 24.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3116, allocations: 6.438 kB / 490.9 MB, free: 24.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3118, allocations: 52.58 kB / 490.9 MB, free: 24.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.314, allocations: 0.5073 MB / 491.4 MB, free: 24.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.314, allocations: 13.09 kB / 491.4 MB, free: 24.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/0.3188, allocations: 3.595 MB / 495 MB, free: 22.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3188, allocations: 0 / 495 MB, free: 22.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.322, allocations: 2.145 MB / 497.2 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.3221, allocations: 120.2 kB / 497.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.3222, allocations: 13.22 kB / 497.3 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.3225, allocations: 22.92 kB / 497.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.3227, allocations: 41.33 kB / 497.4 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.3228, allocations: 20.83 kB / 497.4 MB, free: 20.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002276/0.323, allocations: 225.7 kB / 497.6 MB, free: 20.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.323, allocations: 0 / 497.6 MB, free: 20.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007265/0.3237, allocations: 188.3 kB / 497.8 MB, free: 20.39 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,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.3239, allocations: 131 kB / 497.9 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3256, allocations: 0.9871 MB / 498.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3256, allocations: 0.6094 kB / 498.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3267, allocations: 0.6765 MB / 499.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3271, allocations: 42.19 kB / 499.6 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3285, allocations: 1.256 MB / 0.4892 GB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3288, allocations: 0.8182 MB / 0.49 GB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.3289, allocations: 52.41 kB / 0.49 GB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.329, allocations: 34.27 kB / 0.49 GB, free: 17.73 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.329, allocations: 0 / 0.49 GB, free: 17.73 MB / 314.7 MB Notification: Performance of Templates: time 0.01475/0.3438, allocations: 11.27 MB / 0.501 GB, free: 12.16 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)