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.0009111/0.0009111, allocations: 100.3 kB / 15.73 MB, free: 436 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.0009081/0.0009081, allocations: 178.1 kB / 16.61 MB, free: 6.559 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.267/1.267, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1523/0.1523, allocations: 8.077 MB / 299.7 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 8 kB / 362.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.08925, allocations: 52.53 MB / 415.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.002241/0.09152, allocations: 2.077 MB / 417.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.0934, allocations: 1.665 MB / 419.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.09352, allocations: 8 kB / 419.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.09381, allocations: 119.3 kB / 419.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.09423, allocations: 251.3 kB / 419.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.09579, allocations: 0.9148 MB / 420.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.09627, allocations: 371.2 kB / 420.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.09649, allocations: 134.9 kB / 420.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.09665, allocations: 179.3 kB / 421.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.09691, allocations: 227.1 kB / 421.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.09696, allocations: 24 kB / 421.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.09733, allocations: 211.7 kB / 421.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.09741, allocations: 75.72 kB / 421.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.0975, allocations: 109.5 kB / 421.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.09797, allocations: 474.8 kB / 422.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09798, allocations: 0 / 422.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09799, allocations: 0 / 422.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.098, allocations: 3.938 kB / 422.2 MB, free: 1.793 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.005826/0.1038, allocations: 1.599 MB / 423.8 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1039, allocations: 8.031 kB / 423.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.104, allocations: 74.53 kB / 423.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.16/0.264, allocations: 57.94 kB / 423.9 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.2646, allocations: 352.3 kB / 424.2 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.2646, allocations: 35.72 kB / 424.3 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.2647, allocations: 40.97 kB / 424.3 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.2655, allocations: 0.5948 MB / 424.9 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2656, allocations: 0 / 424.9 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.2656, allocations: 15.58 kB / 424.9 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2656, allocations: 11.78 kB / 424.9 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.2663, allocations: 0.5437 MB / 425.5 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.2689, allocations: 2.25 MB / 427.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.2698, allocations: 0.8753 MB / 428.6 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.226e-05/0.2699, allocations: 22.83 kB / 428.6 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2699, allocations: 40.44 kB / 428.7 MB, free: 38.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.314e-06/0.2699, allocations: 0 / 428.7 MB, free: 38.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.008482/0.2784, allocations: 2.567 MB / 431.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2785, allocations: 120.2 kB / 431.4 MB, free: 38.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.2787, allocations: 329.3 kB / 431.7 MB, free: 38.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.2788, allocations: 40.7 kB / 431.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.2789, allocations: 190 kB / 431.9 MB, free: 38.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.279, allocations: 200.5 kB / 432.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.279, allocations: 18.56 kB / 432.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.2791, allocations: 353.7 kB / 432.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2796, allocations: 401.8 kB / 432.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.2801, allocations: 0.508 MB / 433.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.2807, allocations: 460.2 kB / 433.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2807, allocations: 3.188 kB / 433.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004063/0.2848, allocations: 1.786 MB / 435.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2848, allocations: 10.78 kB / 435.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2849, allocations: 3.281 kB / 435.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.2892, allocations: 1.103 MB / 436.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.2897, allocations: 129.7 kB / 436.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007192/0.2969, allocations: 4.983 MB / 441.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.2975, allocations: 76.23 kB / 441.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.2975, allocations: 25.16 kB / 441.9 MB, free: 33.35 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 (72): * Single equations (assignments): 71 * 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.0002092/0.2977, allocations: 181.4 kB / 442.1 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.2978, allocations: 45.33 kB / 442.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/0.3019, allocations: 1.684 MB / 443.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3019, allocations: 6.812 kB / 443.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.3019, allocations: 8.156 kB / 443.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3019, allocations: 7.469 kB / 443.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.3064, allocations: 2.373 MB / 446.2 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3064, allocations: 3.062 kB / 446.2 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.3066, allocations: 71.84 kB / 446.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004194/0.3108, allocations: 1.034 MB / 447.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.3109, allocations: 11.25 kB / 447.3 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007148/0.3181, allocations: 4.965 MB / 452.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3181, allocations: 0 / 452.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.322, allocations: 1.673 MB / 454 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3221, allocations: 127.6 kB / 454.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.3222, allocations: 15.06 kB / 454.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3226, allocations: 27.14 kB / 454.2 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3227, allocations: 50.45 kB / 454.2 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.3228, allocations: 19.39 kB / 454.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.3229, allocations: 220.5 kB / 454.4 MB, free: 26.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.3229, allocations: 0 / 454.4 MB, free: 26.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.3237, allocations: 245.4 kB / 454.7 MB, free: 26.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * 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.004031/0.3278, allocations: 2.384 MB / 457.1 MB, free: 25.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.3304, allocations: 1.344 MB / 458.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3304, allocations: 0 / 458.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.3322, allocations: 0.8307 MB / 459.2 MB, free: 24.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3324, allocations: 33.48 kB / 459.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.3343, allocations: 2.786 MB / 462.1 MB, free: 22.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.3345, allocations: 0.8479 MB / 462.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.3347, allocations: 66.56 kB / 463 MB, free: 21.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3349, allocations: 149.9 kB / 463.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3349, allocations: 0.6562 kB / 463.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.3648, allocations: 16.19 MB / 479.3 MB, free: 18.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.365, allocations: 216.2 kB / 479.5 MB, free: 17.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.187, allocations: 3.375 kB / 479.5 MB, free: 17.78 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: