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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001696/0.001696, allocations: 110 kB / 16.46 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 191 kB / 17.39 MB, free: 5.656 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05036/0.05036, allocations: 8.096 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 75.86 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.08986, allocations: 51.51 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.00242/0.09231, allocations: 1.263 MB / 466.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.09442, allocations: 1.489 MB / 468.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.0945, allocations: 4 kB / 468.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.09485, allocations: 103.5 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.09515, allocations: 99.38 kB / 468.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.09701, allocations: 1.015 MB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.09729, allocations: 159.2 kB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.09744, allocations: 57.5 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.09753, allocations: 67.7 kB / 469.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.0977, allocations: 91.62 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.09774, allocations: 12 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.09814, allocations: 219.8 kB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.09819, allocations: 39.84 kB / 470.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.09829, allocations: 79.58 kB / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.09876, allocations: 335.1 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.09877, allocations: 3.938 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09878, allocations: 0 / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.09879, allocations: 0 / 470.5 MB, free: 13.64 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.002324/0.1011, allocations: 0.7325 MB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1012, allocations: 11.89 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1012, allocations: 46.73 kB / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.1013, allocations: 20.84 kB / 471.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1016, allocations: 232.1 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1016, allocations: 8.609 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1016, allocations: 12.38 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.102, allocations: 202 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.102, allocations: 3.938 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.102, allocations: 8 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1021, allocations: 4 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.1023, allocations: 152.6 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1035, allocations: 0.7302 MB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.1041, allocations: 206.5 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1042, allocations: 88.84 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.1043, allocations: 7.938 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1043, allocations: 34.56 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1043, allocations: 0 / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002097/0.1064, allocations: 0.5931 MB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.1065, allocations: 81.11 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1067, allocations: 174.6 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1067, allocations: 29.7 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.1068, allocations: 124.5 kB / 474 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.1069, allocations: 55.53 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.107, allocations: 45.7 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1071, allocations: 330.8 kB / 474.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.1073, allocations: 99.97 kB / 474.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.1075, allocations: 134.4 kB / 474.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.1079, allocations: 224.8 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1079, allocations: 4.031 kB / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001184/0.1091, allocations: 422 kB / 475.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1091, allocations: 7.938 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1091, allocations: 0 / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.1103, allocations: 212.6 kB / 475.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1105, allocations: 39.91 kB / 475.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.1135, allocations: 1.97 MB / 477.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1138, allocations: 31.88 kB / 477.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1138, allocations: 8 kB / 477.5 MB, free: 6.156 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.114, allocations: 129.8 kB / 477.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.114, allocations: 15.89 kB / 477.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1152, allocations: 388.2 kB / 478 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1152, allocations: 4 kB / 478 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1152, allocations: 3.938 kB / 478.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1152, allocations: 0 / 478.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.1156, allocations: 301.4 kB / 478.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1156, allocations: 4 kB / 478.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1157, allocations: 31.92 kB / 478.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.1168, allocations: 200.6 kB / 478.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1168, allocations: 4 kB / 478.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.1194, allocations: 1.953 MB / 480.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1194, allocations: 0 / 480.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1205, allocations: 455.1 kB / 481 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.1206, allocations: 100.9 kB / 481.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1206, allocations: 8 kB / 481.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1208, allocations: 15.98 kB / 481.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1209, allocations: 11.98 kB / 481.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1209, allocations: 4 kB / 481.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1211, allocations: 136.2 kB / 481.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1211, allocations: 0 / 481.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.1215, allocations: 67.94 kB / 481.3 MB, free: 2.117 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.1229, allocations: 0.9902 MB / 482.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009871/0.1239, allocations: 415 kB / 482.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.124, allocations: 4 kB / 482.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.1246, allocations: 282.5 kB / 483 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1249, allocations: 30.05 kB / 483 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.1292, allocations: 2.506 MB / 485.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1296, allocations: 0.7281 MB / 486.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.1297, allocations: 21.5 kB / 486.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.1298, allocations: 47.41 kB / 486.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1298, allocations: 0 / 486.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.1618, allocations: 6.185 MB / 492.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.7, allocations: 3.984 kB / 492.5 MB, free: 6.871 MB / 366.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/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)