Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001089/0.00109, allocations: 180.9 kB / 8.048 MB, free: 1.02 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.406/1.406, allocations: 221.5 MB / 230 MB, free: 7.578 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.0009239/0.0009239, allocations: 101.5 kB / 280.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05469/0.05469, allocations: 8.094 MB / 339.8 MB, free: 7.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.313e-05, allocations: 5.812 kB / 398.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09352, allocations: 52.52 MB / 451.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.1975, allocations: 79.16 MB / 0.5178 GB, free: 6.133 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.1977, allocations: 67.84 kB / 0.5179 GB, free: 6.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2557/0.4535, allocations: 8.55 MB / 0.5262 GB, free: 78.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4535, allocations: 0 / 0.5262 GB, free: 78.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.4536, allocations: 7.531 kB / 0.5262 GB, free: 78.4 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.002345/0.4559, allocations: 0.676 MB / 0.5269 GB, free: 77.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.456, allocations: 13.17 kB / 0.5269 GB, free: 77.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.4561, allocations: 27.58 kB / 0.5269 GB, free: 77.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.4565, allocations: 263.8 kB / 0.5272 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4565, allocations: 3.562 kB / 0.5272 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.4566, allocations: 14.31 kB / 0.5272 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004138/0.457, allocations: 233.7 kB / 0.5274 GB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.4574, allocations: 276.2 kB / 0.5277 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4574, allocations: 0 / 0.5277 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.4575, allocations: 4.703 kB / 0.5277 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4575, allocations: 3.219 kB / 0.5277 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.4596, allocations: 1.187 MB / 0.5289 GB, free: 77.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.4602, allocations: 293 kB / 0.5291 GB, free: 77.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.4604, allocations: 145.9 kB / 0.5293 GB, free: 77.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.4606, allocations: 86.7 kB / 0.5294 GB, free: 76.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4606, allocations: 36.92 kB / 0.5294 GB, free: 76.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.4606, allocations: 1.188 kB / 0.5294 GB, free: 76.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.002102/0.4627, allocations: 0.6065 MB / 0.53 GB, free: 76.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4628, allocations: 110.2 kB / 0.5301 GB, free: 76.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.463, allocations: 184.6 kB / 0.5303 GB, free: 76.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.463, allocations: 25.7 kB / 0.5303 GB, free: 76.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.4631, allocations: 140.7 kB / 0.5304 GB, free: 76.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.4631, allocations: 79.58 kB / 0.5305 GB, free: 76.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.4632, allocations: 1.188 kB / 0.5305 GB, free: 76.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.4633, allocations: 336 kB / 0.5308 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.4635, allocations: 128.3 kB / 0.5309 GB, free: 76.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.4637, allocations: 159.3 kB / 0.5311 GB, free: 76.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.4641, allocations: 158.3 kB / 0.5313 GB, free: 76.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4641, allocations: 0 / 0.5313 GB, free: 76.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002055/0.4662, allocations: 0.6324 MB / 0.5319 GB, free: 75.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4662, allocations: 9.141 kB / 0.5319 GB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4662, allocations: 1.125 kB / 0.5319 GB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.4682, allocations: 373.7 kB / 0.5322 GB, free: 75.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4684, allocations: 37.02 kB / 0.5323 GB, free: 75.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.4724, allocations: 2.461 MB / 0.5347 GB, free: 74.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.4727, allocations: 20.11 kB / 0.5347 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.4728, allocations: 9 kB / 0.5347 GB, free: 74.73 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 {5 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.4729, allocations: 113.3 kB / 0.5348 GB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002192/0.4751, allocations: 0.6105 MB / 0.5354 GB, free: 74.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.4752, allocations: 19.03 kB / 0.5354 GB, free: 74.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.4773, allocations: 0.6767 MB / 0.5361 GB, free: 74.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4774, allocations: 7.109 kB / 0.5361 GB, free: 74.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4774, allocations: 0 / 0.5361 GB, free: 74.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4774, allocations: 3.938 kB / 0.5361 GB, free: 74.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.4778, allocations: 393.5 kB / 0.5365 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4778, allocations: 3.375 kB / 0.5365 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.478, allocations: 38.19 kB / 0.5365 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.4797, allocations: 379.4 kB / 0.5369 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.4798, allocations: 2.469 kB / 0.5369 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.4837, allocations: 2.456 MB / 0.5393 GB, free: 73.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4837, allocations: 0 / 0.5393 GB, free: 73.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.4858, allocations: 0.7235 MB / 0.54 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.4859, allocations: 120 kB / 0.5401 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.486, allocations: 0 / 0.5401 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.4863, allocations: 23.88 kB / 0.5401 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.4863, allocations: 17.66 kB / 0.5401 GB, free: 72.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.4864, allocations: 11.47 kB / 0.5401 GB, free: 72.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4865, allocations: 142.6 kB / 0.5403 GB, free: 72.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4865, allocations: 0 / 0.5403 GB, free: 72.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.4869, allocations: 85.91 kB / 0.5404 GB, free: 72.52 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 {5 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.4891, allocations: 1.284 MB / 0.5416 GB, free: 71.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.4907, allocations: 0.5498 MB / 0.5422 GB, free: 71.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4907, allocations: 0 / 0.5422 GB, free: 71.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4918, allocations: 418.3 kB / 0.5426 GB, free: 71.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4922, allocations: 15.05 kB / 0.5426 GB, free: 71.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.493, allocations: 330 kB / 0.5429 GB, free: 70.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.4932, allocations: 0.7508 MB / 0.5436 GB, free: 70.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.4933, allocations: 32.64 kB / 0.5436 GB, free: 70.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.4934, allocations: 66.06 kB / 0.5437 GB, free: 70.2 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4934, allocations: 0 / 0.5437 GB, free: 70.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.5196, allocations: 7.482 MB / 0.551 GB, free: 64.69 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.5199, allocations: 134.8 kB / 0.5511 GB, free: 64.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.283, allocations: 4 kB / 0.5511 GB, free: 64.49 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)