Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.001368/0.001368, allocations: 107.9 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.001473/0.001473, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.432/1.432, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0516/0.0516, allocations: 8.099 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 59.91 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.09118, allocations: 51.52 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002176/0.0934, allocations: 1.068 MB / 466.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.09536, allocations: 1.45 MB / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.09542, allocations: 0 / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.09575, allocations: 107.5 kB / 468.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.096, allocations: 79.55 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.09754, allocations: 0.8712 MB / 469.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.09776, allocations: 111.5 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.09789, allocations: 41.03 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.09795, allocations: 43.84 kB / 469.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.09805, allocations: 55.78 kB / 469.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.09807, allocations: 8 kB / 469.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.09845, allocations: 215.7 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.09849, allocations: 19.92 kB / 469.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.09856, allocations: 51.73 kB / 469.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.09897, allocations: 279.3 kB / 469.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.09899, allocations: 0 / 469.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09899, allocations: 0 / 469.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.099, allocations: 0 / 469.9 MB, free: 14.29 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002031/0.101, allocations: 0.6546 MB / 470.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1011, allocations: 15.89 kB / 470.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.1012, allocations: 38.75 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1012, allocations: 12.89 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1014, allocations: 212.2 kB / 470.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1015, allocations: 4.375 kB / 470.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1015, allocations: 16.38 kB / 470.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1018, allocations: 162.6 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1018, allocations: 7.922 kB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1018, allocations: 7.938 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1018, allocations: 4 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1021, allocations: 119.9 kB / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.1029, allocations: 0.4886 MB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.1035, allocations: 174.6 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.1036, allocations: 48.84 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.1042, allocations: 458.5 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1042, allocations: 38.44 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1042, allocations: 0 / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008491/0.1051, allocations: 291.5 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.1051, allocations: 77.11 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1053, allocations: 165.5 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1053, allocations: 37.7 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.1054, allocations: 111.9 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1055, allocations: 35.69 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.1056, allocations: 41.7 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1057, allocations: 326.8 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1058, allocations: 59.97 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.106, allocations: 114 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1063, allocations: 172.5 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1063, allocations: 4.031 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005607/0.1068, allocations: 262.1 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1069, allocations: 8 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1069, allocations: 0 / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.1073, allocations: 68.91 kB / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1075, allocations: 40.23 kB / 474.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.1091, allocations: 1.473 MB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1092, allocations: 23.91 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1093, allocations: 16.06 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1094, allocations: 125.8 kB / 475.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1094, allocations: 11.91 kB / 475.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.1099, allocations: 195.1 kB / 475.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1099, allocations: 384 / 475.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1099, allocations: 4 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.11, allocations: 3.938 kB / 475.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1103, allocations: 241.5 kB / 476.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1103, allocations: 3.938 kB / 476.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.1104, allocations: 15.94 kB / 476.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003546/0.1107, allocations: 68.8 kB / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1107, allocations: 0 / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1122, allocations: 1.473 MB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1122, allocations: 0 / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.1127, allocations: 276.3 kB / 478 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1127, allocations: 89.02 kB / 478.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1127, allocations: 3.984 kB / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1129, allocations: 8 kB / 478.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.1129, allocations: 7.984 kB / 478.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1129, allocations: 4 kB / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.113, allocations: 112.9 kB / 478.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.113, allocations: 3.938 kB / 478.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.1134, allocations: 51.98 kB / 478.3 MB, free: 5.137 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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000837/0.1142, allocations: 0.8146 MB / 479.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.1148, allocations: 270.8 kB / 479.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1148, allocations: 0 / 479.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.1152, allocations: 190.9 kB / 479.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.1154, allocations: 7.938 kB / 479.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.1179, allocations: 1.963 MB / 481.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1182, allocations: 0.7006 MB / 482.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.912e-05/0.1183, allocations: 12.89 kB / 482.2 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.1184, allocations: 35.42 kB / 482.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1184, allocations: 0 / 482.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.1486, allocations: 3.551 MB / 485.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.584/9.733, allocations: 3.875 kB / 485.8 MB, free: 13.49 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)