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.001261/0.001261, allocations: 103.2 kB / 16.45 MB, free: 6.43 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.001224/0.001224, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.315/1.315, 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.05174/0.05174, allocations: 8.094 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 414 MB, free: 22.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08989, allocations: 51.51 MB / 465.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002628/0.09257, allocations: 1.259 MB / 466.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.09454, allocations: 1.493 MB / 468.2 MB, free: 24 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.09471, allocations: 4 kB / 468.2 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.09517, allocations: 107.5 kB / 468.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.09557, allocations: 99.38 kB / 468.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.09732, allocations: 1.019 MB / 469.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.09764, allocations: 159.2 kB / 469.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.09781, allocations: 57.52 kB / 469.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.09792, allocations: 67.72 kB / 469.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.0981, allocations: 87.61 kB / 469.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.09814, allocations: 12 kB / 469.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.09858, allocations: 223.8 kB / 470.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.09863, allocations: 35.8 kB / 470.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.09873, allocations: 75.66 kB / 470.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.09927, allocations: 330.8 kB / 470.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.09929, allocations: 4 kB / 470.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09929, allocations: 7.938 kB / 470.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.09931, allocations: 3.938 kB / 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.002224/0.1015, allocations: 0.7175 MB / 471.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1016, allocations: 15.89 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.1016, allocations: 50.73 kB / 471.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1017, allocations: 16.75 kB / 471.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.102, allocations: 228 kB / 471.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.102, allocations: 12.55 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.102, allocations: 12.38 kB / 471.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1023, allocations: 202 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1024, allocations: 7.938 kB / 471.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1024, allocations: 4 kB / 471.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1024, allocations: 8 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1026, allocations: 156.6 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1037, allocations: 0.7184 MB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.1042, allocations: 202.5 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1043, allocations: 92.83 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.1044, allocations: 4 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1044, allocations: 38.5 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1044, allocations: 0 / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001961/0.1064, allocations: 0.5964 MB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1065, allocations: 81.11 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1067, allocations: 174.6 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.1067, allocations: 33.7 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.1068, allocations: 116.3 kB / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1068, allocations: 59.19 kB / 474 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.1069, allocations: 49.69 kB / 474.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.107, allocations: 326.8 kB / 474.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1072, allocations: 99.97 kB / 474.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.1074, allocations: 138.4 kB / 474.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.1077, allocations: 224.8 kB / 474.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1077, allocations: 3.938 kB / 474.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001068/0.1088, allocations: 426 kB / 475.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1088, allocations: 8.031 kB / 475.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1088, allocations: 3.984 kB / 475.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.1099, allocations: 200.6 kB / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1101, allocations: 31.98 kB / 475.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.1128, allocations: 1.969 MB / 477.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.113, allocations: 27.73 kB / 477.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1131, allocations: 11.98 kB / 477.5 MB, free: 6.293 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.0001157/0.1132, allocations: 125.8 kB / 477.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.1132, allocations: 19.84 kB / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1143, allocations: 379.1 kB / 478 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1143, allocations: 4 kB / 478 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1143, allocations: 3.938 kB / 478 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1143, allocations: 0 / 478 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1146, allocations: 313.3 kB / 478.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1147, allocations: 0 / 478.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1148, allocations: 27.92 kB / 478.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009544/0.1158, allocations: 200.6 kB / 478.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1158, allocations: 0 / 478.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.1182, allocations: 1.957 MB / 480.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1182, allocations: 4 kB / 480.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.1193, allocations: 443.9 kB / 480.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.1193, allocations: 100.8 kB / 481 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1194, allocations: 4 kB / 481.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1196, allocations: 15.98 kB / 481.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1196, allocations: 11.98 kB / 481.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1197, allocations: 4 kB / 481.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1198, allocations: 140.2 kB / 481.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1198, allocations: 0 / 481.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.1202, allocations: 60 kB / 481.3 MB, free: 2.273 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.001367/0.1216, allocations: 1.002 MB / 482.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009541/0.1225, allocations: 413.8 kB / 482.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1225, allocations: 4 kB / 482.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.1231, allocations: 286.5 kB / 483 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1235, allocations: 23.84 kB / 483 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.1274, allocations: 2.507 MB / 485.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1277, allocations: 0.7203 MB / 486.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.449e-05/0.1278, allocations: 29.39 kB / 486.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.1279, allocations: 47.42 kB / 486.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1279, allocations: 0 / 486.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.1521, allocations: 6.337 MB / 492.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.9, allocations: 12.62 kB / 492.6 MB, free: 6.859 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)