Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.0007301/0.0007302, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008044/0.0008045, allocations: 171.7 kB / 16.62 MB, free: 6.891 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.248/1.248, 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.1408/0.1408, allocations: 8.09 MB / 299.8 MB, free: 2.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8 kB / 363 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0808/0.08109, allocations: 52.52 MB / 415.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.002223/0.08336, allocations: 2.169 MB / 417.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.08523, allocations: 1.54 MB / 419.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.08536, allocations: 8 kB / 419.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.08566, allocations: 115.4 kB / 419.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.08606, allocations: 190.9 kB / 419.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.0877, allocations: 0.9967 MB / 420.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.08821, allocations: 421.8 kB / 420.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.08845, allocations: 132 kB / 421 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.0886, allocations: 159.4 kB / 421.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.08888, allocations: 207.1 kB / 421.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.08893, allocations: 24 kB / 421.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.08937, allocations: 239.8 kB / 421.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.08945, allocations: 75.61 kB / 421.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.08954, allocations: 101.5 kB / 421.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.09002, allocations: 454.8 kB / 422.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.09004, allocations: 4 kB / 422.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09005, allocations: 0 / 422.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.09006, allocations: 0 / 422.3 MB, free: 1.762 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.004344/0.09441, allocations: 1.345 MB / 423.6 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.09446, allocations: 12.5 kB / 423.6 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.19e-05/0.09455, allocations: 70.53 kB / 423.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.09464, allocations: 51.39 kB / 423.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1537/0.2483, allocations: 323.5 kB / 424.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.2484, allocations: 29.91 kB / 424.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.2485, allocations: 38.62 kB / 424.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.2492, allocations: 0.5057 MB / 424.6 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2492, allocations: 0 / 424.6 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.2492, allocations: 15.53 kB / 424.6 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2492, allocations: 12.89 kB / 424.7 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.2498, allocations: 445.8 kB / 425.1 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.2518, allocations: 2.115 MB / 427.2 MB, free: 39.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.2525, allocations: 0.5853 MB / 427.8 MB, free: 39.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.2528, allocations: 274.4 kB / 428.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.2529, allocations: 9.719 kB / 428.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2529, allocations: 44.8 kB / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.704e-06/0.2529, allocations: 0 / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005706/0.2586, allocations: 1.91 MB / 430 MB, free: 39.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2587, allocations: 117.3 kB / 430.1 MB, free: 39.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.2589, allocations: 274.2 kB / 430.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.2589, allocations: 41.28 kB / 430.4 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.259, allocations: 183.8 kB / 430.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.2591, allocations: 149.9 kB / 430.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.2592, allocations: 12.12 kB / 430.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.2592, allocations: 341.2 kB / 431.1 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.2596, allocations: 279.1 kB / 431.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.2599, allocations: 336.7 kB / 431.7 MB, free: 38.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.2603, allocations: 309.6 kB / 432 MB, free: 38.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2603, allocations: 0 / 432 MB, free: 38.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002654/0.263, allocations: 1.238 MB / 433.3 MB, free: 38.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.263, allocations: 3.281 kB / 433.3 MB, free: 38.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.263, allocations: 3.281 kB / 433.3 MB, free: 38.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/0.2658, allocations: 0.7787 MB / 434 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.2661, allocations: 91.84 kB / 434.1 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/0.2713, allocations: 3.656 MB / 437.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.2716, allocations: 54.89 kB / 437.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2717, allocations: 23.58 kB / 437.9 MB, free: 35.84 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.0001692/0.2718, allocations: 165.1 kB / 438 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.2719, allocations: 32.27 kB / 438.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.2746, allocations: 1.178 MB / 439.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2746, allocations: 10.23 kB / 439.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2746, allocations: 0 / 439.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2746, allocations: 7.234 kB / 439.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.2776, allocations: 1.757 MB / 441 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2776, allocations: 0 / 441 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2778, allocations: 57.75 kB / 441.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.2806, allocations: 0.7507 MB / 441.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2806, allocations: 11.75 kB / 441.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/0.2855, allocations: 3.631 MB / 445.5 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2856, allocations: 0 / 445.5 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.2881, allocations: 1.175 MB / 446.6 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.2882, allocations: 124.6 kB / 446.8 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.2882, allocations: 22.5 kB / 446.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.2885, allocations: 27.62 kB / 446.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.2886, allocations: 37.27 kB / 446.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.2887, allocations: 13.34 kB / 446.9 MB, free: 31.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.2888, allocations: 187.9 kB / 447 MB, free: 30.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2888, allocations: 2.969 kB / 447 MB, free: 30.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.2894, allocations: 184.9 kB / 447.2 MB, free: 30.93 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.002677/0.2921, allocations: 1.749 MB / 449 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.2939, allocations: 0.9965 MB / 450 MB, free: 29.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.294, allocations: 0 / 450 MB, free: 29.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.2953, allocations: 0.6424 MB / 450.6 MB, free: 29.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2956, allocations: 40.83 kB / 450.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.3003, allocations: 3.092 MB / 453.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3005, allocations: 0.8104 MB / 454.6 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.3007, allocations: 57.06 kB / 454.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3008, allocations: 134.4 kB / 454.7 MB, free: 26.69 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3009, allocations: 0 / 454.7 MB, free: 26.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.3263, allocations: 13.6 MB / 468.3 MB, free: 25.36 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.3266, allocations: 252.6 kB / 468.6 MB, free: 25.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.114, allocations: 0 / 468.6 MB, free: 25.02 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1) Environment - environmentSimulation: