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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 180.9 kB / 8.049 MB, free: 1.027 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.672/1.672, allocations: 221.5 MB / 230 MB, free: 7.547 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.0008651/0.0008652, allocations: 96.5 kB / 280.9 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04668/0.04668, allocations: 8.114 MB / 339.8 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.859e-05, allocations: 3.656 kB / 398.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 52.53 MB / 451.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.212, allocations: 78.33 MB / 0.517 GB, free: 6.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.2122, allocations: 59.98 kB / 0.5171 GB, free: 6.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01332/0.2255, allocations: 5.263 MB / 0.5222 GB, free: 1.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2255, allocations: 0 / 0.5222 GB, free: 1.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2256, allocations: 0 / 0.5222 GB, free: 1.586 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001094/0.2267, allocations: 0.4945 MB / 0.5227 GB, free: 1.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.2267, allocations: 11.98 kB / 0.5227 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.2268, allocations: 19.81 kB / 0.5227 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.227, allocations: 202.9 kB / 0.5229 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.227, allocations: 4 kB / 0.5229 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.227, allocations: 8 kB / 0.5229 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000205/0.2273, allocations: 108 kB / 0.523 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2275, allocations: 147.2 kB / 0.5232 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2275, allocations: 4.875 kB / 0.5232 GB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2276, allocations: 0 / 0.5232 GB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2276, allocations: 3.984 kB / 0.5232 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2647/0.4923, allocations: 0.5557 MB / 0.5237 GB, free: 78.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.493, allocations: 141.7 kB / 0.5239 GB, free: 78.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.4931, allocations: 28.39 kB / 0.5239 GB, free: 78.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4932, allocations: 86.91 kB / 0.524 GB, free: 78.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.4932, allocations: 34.17 kB / 0.524 GB, free: 78.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.4932, allocations: 0.9688 kB / 0.524 GB, free: 78.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005867/0.4938, allocations: 137.9 kB / 0.5241 GB, free: 78.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4939, allocations: 79.64 kB / 0.5242 GB, free: 78.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.494, allocations: 158.5 kB / 0.5244 GB, free: 78.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.494, allocations: 25.7 kB / 0.5244 GB, free: 78.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.4941, allocations: 136.8 kB / 0.5245 GB, free: 78.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4941, allocations: 22.14 kB / 0.5245 GB, free: 78.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.4942, allocations: 0 / 0.5245 GB, free: 78.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.4942, allocations: 319.8 kB / 0.5248 GB, free: 78.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.4943, allocations: 45.33 kB / 0.5249 GB, free: 78.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.4944, allocations: 84.98 kB / 0.525 GB, free: 78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4946, allocations: 65.81 kB / 0.525 GB, free: 78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4946, allocations: 1.719 kB / 0.525 GB, free: 78 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005087/0.4951, allocations: 205.6 kB / 0.5252 GB, free: 77.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.4951, allocations: 8.5 kB / 0.5252 GB, free: 77.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4951, allocations: 1.359 kB / 0.5252 GB, free: 77.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.4956, allocations: 60.22 kB / 0.5253 GB, free: 77.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4957, allocations: 25.08 kB / 0.5253 GB, free: 77.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.4968, allocations: 1.322 MB / 0.5266 GB, free: 76.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4969, allocations: 12.45 kB / 0.5266 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.497, allocations: 4.188 kB / 0.5266 GB, free: 76.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.497, allocations: 108.4 kB / 0.5267 GB, free: 76.65 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003896/0.4974, allocations: 148.6 kB / 0.5269 GB, free: 76.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.4975, allocations: 7.875 kB / 0.5269 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.498, allocations: 153 kB / 0.527 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.498, allocations: 3.172 kB / 0.527 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.498, allocations: 0 / 0.527 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.498, allocations: 1.719 kB / 0.527 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007326/0.4987, allocations: 454.7 kB / 0.5275 GB, free: 76.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4988, allocations: 2.203 kB / 0.5275 GB, free: 76.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.4988, allocations: 8.734 kB / 0.5275 GB, free: 76.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.4991, allocations: 61.8 kB / 0.5275 GB, free: 76.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4992, allocations: 5.047 kB / 0.5275 GB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.5004, allocations: 1.322 MB / 0.5288 GB, free: 75.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.5004, allocations: 6.234 kB / 0.5288 GB, free: 75.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.5009, allocations: 287.5 kB / 0.5291 GB, free: 74.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.5009, allocations: 99.7 kB / 0.5292 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.501, allocations: 3.531 kB / 0.5292 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5011, allocations: 11.52 kB / 0.5292 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.5012, allocations: 7.859 kB / 0.5292 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5012, allocations: 4.844 kB / 0.5292 GB, free: 74.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.5013, allocations: 132.9 kB / 0.5293 GB, free: 74.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5013, allocations: 0 / 0.5293 GB, free: 74.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000345/0.5017, allocations: 32.05 kB / 0.5294 GB, free: 74.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007289/0.5024, allocations: 1.031 MB / 0.5304 GB, free: 73.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004931/0.5029, allocations: 218.8 kB / 0.5306 GB, free: 73.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5029, allocations: 4.75 kB / 0.5306 GB, free: 73.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.5032, allocations: 155.4 kB / 0.5307 GB, free: 73.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.5034, allocations: 6.938 kB / 0.5308 GB, free: 73.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.5039, allocations: 187.3 kB / 0.5309 GB, free: 73.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.5041, allocations: 0.7092 MB / 0.5316 GB, free: 72.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.5042, allocations: 15.52 kB / 0.5316 GB, free: 72.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.5043, allocations: 35 kB / 0.5317 GB, free: 72.61 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5043, allocations: 0 / 0.5317 GB, free: 72.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.528, allocations: 2.535 MB / 0.5341 GB, free: 72.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.5283, allocations: 118.8 kB / 0.5343 GB, free: 72.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.022, allocations: 1 kB / 0.5343 GB, free: 72.29 MB / 362.7 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/linux/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)