Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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/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 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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007933/0.0007932, allocations: 92.33 kB / 15.74 MB, free: 408 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 174.7 kB / 16.62 MB, free: 5.738 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.256/1.256, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1584/0.1584, allocations: 8.071 MB / 299.8 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 363 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08437, allocations: 52.52 MB / 415.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.002281/0.08668, allocations: 2.254 MB / 417.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.08853, allocations: 1.653 MB / 419.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.08865, allocations: 12 kB / 419.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.08893, allocations: 119.4 kB / 419.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.08934, allocations: 226.7 kB / 419.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.0908, allocations: 0.8994 MB / 420.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.09127, allocations: 481.5 kB / 421.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.09146, allocations: 130.9 kB / 421.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.09162, allocations: 187.3 kB / 421.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.09187, allocations: 231 kB / 421.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.09192, allocations: 24 kB / 421.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.09233, allocations: 231.8 kB / 421.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.09241, allocations: 79.61 kB / 422 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.952e-05/0.09252, allocations: 109.5 kB / 422.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.09302, allocations: 486.8 kB / 422.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.09303, allocations: 7.938 kB / 422.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09304, allocations: 0 / 422.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.09305, allocations: 0 / 422.5 MB, free: 1.469 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.1616/0.2547, allocations: 1.584 MB / 424.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2548, allocations: 9.938 kB / 424.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.255, allocations: 71.83 kB / 424.2 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.2552, allocations: 53.86 kB / 424.3 MB, free: 41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.2558, allocations: 355 kB / 424.6 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2558, allocations: 36.05 kB / 424.6 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.2559, allocations: 44.03 kB / 424.7 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/0.2569, allocations: 0.5936 MB / 425.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2569, allocations: 3.281 kB / 425.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.2569, allocations: 18 kB / 425.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2569, allocations: 15.05 kB / 425.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.2577, allocations: 0.5431 MB / 425.9 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.2602, allocations: 2.239 MB / 428.1 MB, free: 39.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009792/0.2612, allocations: 0.8787 MB / 429 MB, free: 39.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.2617, allocations: 396.8 kB / 429.4 MB, free: 39.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.2632, allocations: 1.34 MB / 430.7 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2633, allocations: 44.81 kB / 430.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.2633, allocations: 0 / 430.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.008101/0.2714, allocations: 2.635 MB / 433.4 MB, free: 38.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2714, allocations: 116.9 kB / 433.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.2717, allocations: 338.1 kB / 433.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.2718, allocations: 36.89 kB / 433.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.2719, allocations: 207.6 kB / 434.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.272, allocations: 178.9 kB / 434.2 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.272, allocations: 18.09 kB / 434.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.2721, allocations: 350.3 kB / 434.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.2726, allocations: 401.1 kB / 435 MB, free: 37.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.2731, allocations: 0.5146 MB / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.2737, allocations: 446 kB / 435.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2737, allocations: 0 / 435.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003724/0.2774, allocations: 1.774 MB / 437.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2774, allocations: 10.56 kB / 437.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.2774, allocations: 3.844 kB / 437.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/0.2813, allocations: 1.102 MB / 438.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.2817, allocations: 132 kB / 439 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.2883, allocations: 4.791 MB / 443.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.2887, allocations: 77.11 kB / 443.8 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.2888, allocations: 29.25 kB / 443.9 MB, free: 32.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,56.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.289, allocations: 176.6 kB / 444 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.2891, allocations: 38.25 kB / 444.1 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.2927, allocations: 1.63 MB / 445.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2927, allocations: 6.469 kB / 445.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2927, allocations: 3.344 kB / 445.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2928, allocations: 4.266 kB / 445.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.2933, allocations: 0.6647 MB / 446.4 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2933, allocations: 4 kB / 446.4 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2935, allocations: 62.25 kB / 446.4 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/0.2972, allocations: 1.03 MB / 447.5 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.2972, allocations: 16.31 kB / 447.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.3038, allocations: 4.773 MB / 452.3 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3038, allocations: 0 / 452.3 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.3073, allocations: 1.616 MB / 453.9 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.3074, allocations: 125.5 kB / 454 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.3075, allocations: 19.78 kB / 454 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.3078, allocations: 24.98 kB / 454 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3079, allocations: 47.88 kB / 454.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.308, allocations: 16.53 kB / 454.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.3082, allocations: 219.5 kB / 454.3 MB, free: 26.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3082, allocations: 0 / 454.3 MB, free: 26.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.3089, allocations: 230.8 kB / 454.5 MB, free: 26.92 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,58.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003744/0.3127, allocations: 2.191 MB / 456.7 MB, free: 25.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.3151, allocations: 1.329 MB / 458.1 MB, free: 25.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3152, allocations: 7.125 kB / 458.1 MB, free: 25.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.3167, allocations: 0.8138 MB / 458.9 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3171, allocations: 45.66 kB / 458.9 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.3235, allocations: 4.052 MB / 463 MB, free: 22.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3238, allocations: 0.8305 MB / 463.8 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.324, allocations: 56.86 kB / 463.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3242, allocations: 145.1 kB / 464 MB, free: 21.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3242, allocations: 2.062 kB / 464 MB, free: 21.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.3549, allocations: 16.21 MB / 480.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.3551, allocations: 225.1 kB / 480.4 MB, free: 17.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.156, allocations: 5.094 kB / 480.5 MB, free: 17.98 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) Environment - environmentSimulation: