Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 177.6 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 230 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008263/0.0008264, allocations: 97.64 kB / 280.9 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04875/0.04875, allocations: 8.106 MB / 339.8 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.003e-05, allocations: 3.344 kB / 398.6 MB, free: 49.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 52.53 MB / 451.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.2141, allocations: 79.93 MB / 0.5186 GB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.2144, allocations: 59.97 kB / 0.5186 GB, free: 5.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2718/0.4862, allocations: 8.132 MB / 0.5266 GB, free: 78.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4863, allocations: 0 / 0.5266 GB, free: 78.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.4863, allocations: 3.938 kB / 0.5266 GB, free: 78.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001612/0.4879, allocations: 0.6387 MB / 0.5272 GB, free: 78.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.488, allocations: 13.2 kB / 0.5272 GB, free: 78.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.488, allocations: 24.47 kB / 0.5272 GB, free: 78.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.4883, allocations: 266.9 kB / 0.5275 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4884, allocations: 5.406 kB / 0.5275 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4884, allocations: 8.219 kB / 0.5275 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004011/0.4888, allocations: 231.1 kB / 0.5277 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.4892, allocations: 267.8 kB / 0.528 GB, free: 78.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4892, allocations: 3.953 kB / 0.528 GB, free: 78.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.4893, allocations: 0 / 0.528 GB, free: 78.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4893, allocations: 7.484 kB / 0.528 GB, free: 78.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.4909, allocations: 1.149 MB / 0.5291 GB, free: 77.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.4915, allocations: 295.1 kB / 0.5294 GB, free: 77.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.4917, allocations: 142.6 kB / 0.5295 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.4918, allocations: 87.39 kB / 0.5296 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4919, allocations: 36.61 kB / 0.5296 GB, free: 77.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.4919, allocations: 0 / 0.5296 GB, free: 77.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.002247/0.4941, allocations: 0.5719 MB / 0.5302 GB, free: 77.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.4942, allocations: 79.2 kB / 0.5303 GB, free: 77.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4944, allocations: 186.5 kB / 0.5305 GB, free: 76.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4945, allocations: 25.7 kB / 0.5305 GB, free: 76.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.4946, allocations: 135.3 kB / 0.5306 GB, free: 76.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.4947, allocations: 82.23 kB / 0.5307 GB, free: 76.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.4947, allocations: 0 / 0.5307 GB, free: 76.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4948, allocations: 330.8 kB / 0.531 GB, free: 76.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.495, allocations: 130.4 kB / 0.5311 GB, free: 76.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.4953, allocations: 153.9 kB / 0.5313 GB, free: 76.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.4958, allocations: 161.3 kB / 0.5314 GB, free: 76.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4958, allocations: 0 / 0.5314 GB, free: 76.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001995/0.4978, allocations: 0.6046 MB / 0.532 GB, free: 76.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4978, allocations: 5.797 kB / 0.532 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4978, allocations: 3.953 kB / 0.532 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.4996, allocations: 331.9 kB / 0.5323 GB, free: 76.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.4998, allocations: 34.86 kB / 0.5324 GB, free: 76.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/0.5036, allocations: 2.333 MB / 0.5347 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.5039, allocations: 20.05 kB / 0.5347 GB, free: 75.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5039, allocations: 10.33 kB / 0.5347 GB, free: 75.08 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 9.747e-05/0.504, allocations: 106.8 kB / 0.5348 GB, free: 74.97 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0019/0.5059, allocations: 0.5711 MB / 0.5353 GB, free: 74.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.506, allocations: 21.41 kB / 0.5354 GB, free: 74.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.508, allocations: 0.6342 MB / 0.536 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.508, allocations: 3.656 kB / 0.536 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.508, allocations: 3.938 kB / 0.536 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.508, allocations: 3.953 kB / 0.536 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.5085, allocations: 386.1 kB / 0.5364 GB, free: 74.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5085, allocations: 5.219 kB / 0.5364 GB, free: 74.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5087, allocations: 38.67 kB / 0.5364 GB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.5102, allocations: 332.5 kB / 0.5367 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.5102, allocations: 2.25 kB / 0.5367 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.5136, allocations: 2.328 MB / 0.539 GB, free: 73.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5137, allocations: 0.5 kB / 0.539 GB, free: 73.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.5158, allocations: 0.6793 MB / 0.5397 GB, free: 73.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5159, allocations: 98.56 kB / 0.5398 GB, free: 72.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.5159, allocations: 1.062 kB / 0.5398 GB, free: 72.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.5162, allocations: 15.73 kB / 0.5398 GB, free: 72.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.5163, allocations: 21.06 kB / 0.5398 GB, free: 72.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.5163, allocations: 13.92 kB / 0.5398 GB, free: 72.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.5166, allocations: 147.8 kB / 0.5399 GB, free: 72.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5166, allocations: 0 / 0.5399 GB, free: 72.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006433/0.5172, allocations: 90.22 kB / 0.54 GB, free: 72.82 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/0.5192, allocations: 1.226 MB / 0.5412 GB, free: 71.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.5203, allocations: 0.4959 MB / 0.5417 GB, free: 71.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5204, allocations: 0 / 0.5417 GB, free: 71.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006905/0.5211, allocations: 346.6 kB / 0.542 GB, free: 71.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.5214, allocations: 15.59 kB / 0.5421 GB, free: 71.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.5222, allocations: 329.2 kB / 0.5424 GB, free: 71.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.5224, allocations: 0.7552 MB / 0.5431 GB, free: 70.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.5225, allocations: 29.61 kB / 0.5431 GB, free: 70.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5226, allocations: 66.47 kB / 0.5432 GB, free: 70.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5226, allocations: 0 / 0.5432 GB, free: 70.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.5493, allocations: 7.268 MB / 0.5503 GB, free: 65.4 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.5495, allocations: 138.4 kB / 0.5504 GB, free: 65.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.329, allocations: 0 / 0.5504 GB, free: 65.21 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)