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.001447/0.001447, allocations: 109.2 kB / 16.45 MB, free: 6.438 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.001582/0.001582, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.238/1.238, 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.04925/0.04925, allocations: 8.097 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 414 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.0905, allocations: 51.52 MB / 465.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.00214/0.09268, allocations: 1.255 MB / 466.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.09435, allocations: 1.489 MB / 468.2 MB, free: 16 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.09442, allocations: 0 / 468.2 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.09474, allocations: 111.4 kB / 468.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.09499, allocations: 103.4 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.09657, allocations: 1.011 MB / 469.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.0968, allocations: 163.2 kB / 469.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.09694, allocations: 57.52 kB / 469.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.09702, allocations: 67.66 kB / 469.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.09716, allocations: 83.69 kB / 469.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.09719, allocations: 12 kB / 469.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.09752, allocations: 231.7 kB / 470.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.09756, allocations: 27.91 kB / 470.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.09764, allocations: 83.55 kB / 470.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.09802, allocations: 330.8 kB / 470.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.09803, allocations: 3.938 kB / 470.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09804, allocations: 0 / 470.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09805, allocations: 0 / 470.5 MB, free: 13.75 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.00205/0.1001, allocations: 0.7292 MB / 471.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1001, allocations: 11.89 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1002, allocations: 42.75 kB / 471.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1002, allocations: 20.75 kB / 471.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1005, allocations: 235.9 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1005, allocations: 12.61 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1005, allocations: 12.38 kB / 471.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.1008, allocations: 205.9 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1009, allocations: 3.938 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1009, allocations: 4 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1009, allocations: 0 / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.1011, allocations: 160.6 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1022, allocations: 0.7262 MB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1026, allocations: 198.5 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1028, allocations: 96.83 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.1028, allocations: 4 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1028, allocations: 30.56 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1028, allocations: 0 / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001872/0.1047, allocations: 0.5964 MB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1048, allocations: 85.05 kB / 473.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1049, allocations: 170.6 kB / 473.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.105, allocations: 29.7 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.105, allocations: 128.3 kB / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1051, allocations: 55.2 kB / 474 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.1052, allocations: 45.69 kB / 474.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1053, allocations: 330.8 kB / 474.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1055, allocations: 95.97 kB / 474.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1056, allocations: 134.4 kB / 474.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1059, allocations: 224.8 kB / 474.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.106, allocations: 4.031 kB / 474.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001007/0.107, allocations: 422 kB / 475.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.107, allocations: 10.28 kB / 475.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.107, allocations: 0 / 475.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.108, allocations: 208.6 kB / 475.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1082, allocations: 35.98 kB / 475.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1108, allocations: 1.972 MB / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.111, allocations: 27.75 kB / 477.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.111, allocations: 7.984 kB / 477.5 MB, free: 6.285 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.0001255/0.1112, allocations: 129.8 kB / 477.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.1112, allocations: 15.84 kB / 477.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1123, allocations: 384.2 kB / 478 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1123, allocations: 4 kB / 478 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1123, allocations: 3.938 kB / 478 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1123, allocations: 0 / 478 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1126, allocations: 301.3 kB / 478.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1126, allocations: 3.984 kB / 478.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1127, allocations: 20 kB / 478.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009297/0.1136, allocations: 208.6 kB / 478.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1137, allocations: 4 kB / 478.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.1159, allocations: 1.953 MB / 480.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1159, allocations: 3.984 kB / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.1169, allocations: 451 kB / 481 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.1169, allocations: 100.8 kB / 481.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.117, allocations: 4 kB / 481.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1171, allocations: 19.98 kB / 481.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1172, allocations: 7.984 kB / 481.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1172, allocations: 8 kB / 481.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1173, allocations: 136.2 kB / 481.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1173, allocations: 0 / 481.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.1177, allocations: 64 kB / 481.3 MB, free: 2.258 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.001305/0.119, allocations: 1.002 MB / 482.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.12, allocations: 407.2 kB / 482.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.12, allocations: 0 / 482.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.1206, allocations: 286.6 kB / 483 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1209, allocations: 30.12 kB / 483 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.1246, allocations: 2.502 MB / 485.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1249, allocations: 0.7242 MB / 486.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.125, allocations: 21.48 kB / 486.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.1251, allocations: 51.42 kB / 486.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1251, allocations: 0 / 486.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.15, allocations: 6.336 MB / 492.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.59, allocations: 7.766 kB / 492.6 MB, free: 6.855 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)