Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.0009399/0.00094, allocations: 101.2 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.0009938/0.0009938, allocations: 178.3 kB / 16.61 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.283/1.283, allocations: 223.2 MB / 240.6 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1583/0.1583, allocations: 8.087 MB / 299.7 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 23.98 kB / 362.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.0886, allocations: 52.5 MB / 415.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001179/0.08982, allocations: 0.8456 MB / 416.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.09132, allocations: 1.4 MB / 417.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.09138, allocations: 4 kB / 417.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.09162, allocations: 87.53 kB / 417.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.09183, allocations: 95.7 kB / 417.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.09316, allocations: 0.8174 MB / 418.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.09335, allocations: 115.7 kB / 418.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.09347, allocations: 41.69 kB / 418.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.09354, allocations: 55.83 kB / 418.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.09367, allocations: 71.69 kB / 418.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.0937, allocations: 8 kB / 418.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.09399, allocations: 191.7 kB / 419.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.09403, allocations: 27.89 kB / 419.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.09408, allocations: 53.64 kB / 419.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.09436, allocations: 223.7 kB / 419.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.09437, allocations: 0 / 419.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09438, allocations: 0 / 419.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.09438, allocations: 0 / 419.4 MB, free: 4.605 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002096/0.09649, allocations: 0.6994 MB / 420.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.09653, allocations: 12.02 kB / 420.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.09659, allocations: 38.56 kB / 420.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.09665, allocations: 19.77 kB / 420.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.0969, allocations: 225.2 kB / 420.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.09692, allocations: 12.17 kB / 420.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.09695, allocations: 16 kB / 420.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.09727, allocations: 201.4 kB / 420.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.09728, allocations: 0 / 420.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.09731, allocations: 8 kB / 420.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.09732, allocations: 7.953 kB / 420.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.09756, allocations: 160.6 kB / 420.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.09868, allocations: 0.734 MB / 421.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.09915, allocations: 202.5 kB / 421.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.0992, allocations: 8 kB / 421.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.09924, allocations: 34.56 kB / 421.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.09925, allocations: 4 kB / 421.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001931/0.1012, allocations: 0.5813 MB / 422.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1012, allocations: 85.05 kB / 422.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1014, allocations: 174.6 kB / 422.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1014, allocations: 25.7 kB / 422.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.1015, allocations: 120.3 kB / 422.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1016, allocations: 63.17 kB / 422.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.1016, allocations: 4 kB / 422.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1017, allocations: 322.8 kB / 423.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1019, allocations: 104 kB / 423.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.102, allocations: 129.5 kB / 423.3 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1022, allocations: 108 kB / 423.4 MB, free: 272 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1022, allocations: 4 kB / 423.4 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.1636/0.2658, allocations: 414 kB / 423.8 MB, free: 40.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.2659, allocations: 7 kB / 423.8 MB, free: 40.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2659, allocations: 0 / 423.8 MB, free: 40.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.267, allocations: 204 kB / 424 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2672, allocations: 37.53 kB / 424.1 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.2696, allocations: 1.863 MB / 425.9 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2698, allocations: 17.47 kB / 426 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2698, allocations: 10.75 kB / 426 MB, free: 39.65 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 (22): * Single equations (assignments): 21 * 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 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.2699, allocations: 127.5 kB / 426.1 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.27, allocations: 18.7 kB / 426.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.271, allocations: 396.6 kB / 426.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.271, allocations: 5.406 kB / 426.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.271, allocations: 0 / 426.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.271, allocations: 4.844 kB / 426.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.2713, allocations: 299.2 kB / 426.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2713, allocations: 0.9375 kB / 426.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2714, allocations: 27.92 kB / 426.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000957/0.2724, allocations: 200.7 kB / 427 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2724, allocations: 6.281 kB / 427 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.2742, allocations: 1.832 MB / 428.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2743, allocations: 0.7812 kB / 428.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.2752, allocations: 450.2 kB / 429.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2752, allocations: 96.41 kB / 429.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2752, allocations: 6 kB / 429.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.2754, allocations: 16.61 kB / 429.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.2755, allocations: 14.27 kB / 429.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2755, allocations: 5.656 kB / 429.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.2756, allocations: 128.3 kB / 429.6 MB, free: 37.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2756, allocations: 4 kB / 429.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000349/0.276, allocations: 66.62 kB / 429.6 MB, free: 37.68 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 (15): * Single equations (assignments): 14 * 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 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.2771, allocations: 0.9909 MB / 430.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.278, allocations: 425.6 kB / 431 MB, free: 36.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.278, allocations: 0 / 431 MB, free: 36.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.2785, allocations: 278.8 kB / 431.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2788, allocations: 18.91 kB / 431.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.2797, allocations: 0.6583 MB / 432 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2799, allocations: 0.7225 MB / 432.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.067e-05/0.28, allocations: 24.72 kB / 432.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.2801, allocations: 46.59 kB / 432.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2801, allocations: 0 / 432.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.2948, allocations: 5.459 MB / 438.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/0.295, allocations: 206.4 kB / 438.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.988, allocations: 0 / 438.4 MB, free: 34.95 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) Environment - environmentSimulation: