Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.0009025/0.0009026, allocations: 100 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.001027/0.001027, allocations: 178.7 kB / 16.62 MB, free: 6.422 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.273/1.273, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1436/0.1436, allocations: 8.084 MB / 299.7 MB, free: 2.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004338, allocations: 8 kB / 362.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 52.51 MB / 415.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.002195/0.1047, allocations: 2.027 MB / 417.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1065, allocations: 1.556 MB / 418.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.1066, allocations: 4 kB / 418.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1069, allocations: 119.3 kB / 419.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1073, allocations: 207.4 kB / 419.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1089, allocations: 0.9966 MB / 420.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.1092, allocations: 319.3 kB / 420.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1094, allocations: 136 kB / 420.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1096, allocations: 159.5 kB / 420.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1098, allocations: 203.1 kB / 421.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.1099, allocations: 20 kB / 421.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.1102, allocations: 219.7 kB / 421.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1103, allocations: 75.67 kB / 421.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.1104, allocations: 93.52 kB / 421.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1108, allocations: 446.8 kB / 421.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1108, allocations: 4 kB / 421.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1108, allocations: 0 / 421.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1108, allocations: 7.938 kB / 421.9 MB, free: 2.082 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004636/0.1155, allocations: 1.337 MB / 423.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1155, allocations: 8.031 kB / 423.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.181e-05/0.1156, allocations: 78.48 kB / 423.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.1157, allocations: 55.38 kB / 423.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.1161, allocations: 322.4 kB / 423.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1161, allocations: 28.66 kB / 423.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.1162, allocations: 40 kB / 423.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.147/0.2632, allocations: 0.5038 MB / 424.3 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2633, allocations: 0 / 424.3 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.2633, allocations: 16.06 kB / 424.3 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2633, allocations: 10.98 kB / 424.3 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.2639, allocations: 446.2 kB / 424.7 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.2661, allocations: 2.13 MB / 426.9 MB, free: 39.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.2668, allocations: 0.5876 MB / 427.5 MB, free: 39.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/0.2669, allocations: 11.27 kB / 427.5 MB, free: 39.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2669, allocations: 41.55 kB / 427.5 MB, free: 39.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.2669, allocations: 0 / 427.5 MB, free: 39.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005763/0.2727, allocations: 1.804 MB / 429.3 MB, free: 39.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2727, allocations: 106.1 kB / 429.4 MB, free: 39.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.273, allocations: 275.8 kB / 429.7 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.273, allocations: 35.23 kB / 429.7 MB, free: 39.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.2731, allocations: 182.7 kB / 429.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.2732, allocations: 146.8 kB / 430 MB, free: 38.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.2732, allocations: 17.91 kB / 430.1 MB, free: 38.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.2733, allocations: 350.2 kB / 430.4 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.2736, allocations: 279.5 kB / 430.7 MB, free: 38.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.274, allocations: 332.5 kB / 431 MB, free: 38.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.2744, allocations: 309.1 kB / 431.3 MB, free: 38.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2745, allocations: 0 / 431.3 MB, free: 38.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002944/0.2774, allocations: 1.257 MB / 432.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2774, allocations: 6.531 kB / 432.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2774, allocations: 0 / 432.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/0.2807, allocations: 0.7816 MB / 433.3 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.281, allocations: 91.33 kB / 433.4 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.2867, allocations: 3.86 MB / 437.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.2871, allocations: 54.97 kB / 437.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.2872, allocations: 17.28 kB / 437.4 MB, free: 35.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 50 * 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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.2874, allocations: 161.1 kB / 437.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.2875, allocations: 35.88 kB / 437.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.2904, allocations: 1.205 MB / 438.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2904, allocations: 3.156 kB / 438.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2904, allocations: 0 / 438.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2904, allocations: 7.219 kB / 438.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.2936, allocations: 1.792 MB / 440.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2937, allocations: 3.125 kB / 440.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2939, allocations: 58.44 kB / 440.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/0.2969, allocations: 0.7515 MB / 441.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.297, allocations: 14.53 kB / 441.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.3024, allocations: 3.8 MB / 445.2 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3024, allocations: 0 / 445.2 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.3052, allocations: 1.215 MB / 446.4 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.3053, allocations: 116.6 kB / 446.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.3054, allocations: 11.09 kB / 446.5 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.3057, allocations: 23.64 kB / 446.5 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.3058, allocations: 45.89 kB / 446.6 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.3059, allocations: 13.31 kB / 446.6 MB, free: 30.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.306, allocations: 183.1 kB / 446.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.306, allocations: 3.125 kB / 446.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005855/0.3066, allocations: 189.7 kB / 447 MB, free: 30.75 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 (35): * Single equations (assignments): 34 * 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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003045/0.3097, allocations: 1.769 MB / 448.7 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.3119, allocations: 1.007 MB / 449.7 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.312, allocations: 0 / 449.7 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.3136, allocations: 0.6519 MB / 450.4 MB, free: 28.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.314, allocations: 26.53 kB / 450.4 MB, free: 28.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.3156, allocations: 1.206 MB / 451.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.3159, allocations: 0.8171 MB / 452.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.316, allocations: 48.75 kB / 452.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3162, allocations: 134.7 kB / 452.6 MB, free: 27.26 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3162, allocations: 0 / 452.6 MB, free: 27.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.3407, allocations: 13.48 MB / 466.1 MB, free: 26.36 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.3409, allocations: 243.5 kB / 466.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.092, allocations: 5.219 kB / 466.3 MB, free: 26.12 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1) Environment - environmentSimulation: