Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.00163/0.00163, allocations: 105.2 kB / 16.45 MB, free: 6.488 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.001619/0.001619, allocations: 192.5 kB / 17.38 MB, free: 5.711 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0463/0.0463, allocations: 8.093 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 51.5 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002902/0.1045, allocations: 1.613 MB / 467.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.1067, allocations: 1.555 MB / 468.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1068, allocations: 0 / 468.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.1073, allocations: 127.3 kB / 468.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.1078, allocations: 139.2 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1099, allocations: 1.174 MB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.1103, allocations: 238.8 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1105, allocations: 80.34 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1107, allocations: 99.58 kB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1109, allocations: 127.5 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.1109, allocations: 23.94 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.1114, allocations: 251.7 kB / 470.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1115, allocations: 47.83 kB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1116, allocations: 123.3 kB / 471.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006339/0.1123, allocations: 426.6 kB / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1123, allocations: 0 / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1123, allocations: 0 / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1123, allocations: 0 / 471.5 MB, free: 12.67 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003122/0.1154, allocations: 0.9086 MB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.1155, allocations: 15.83 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.1156, allocations: 50.73 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1157, allocations: 28.66 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1161, allocations: 255.9 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1161, allocations: 16.64 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1161, allocations: 20.38 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.1166, allocations: 289.7 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1167, allocations: 11.92 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1167, allocations: 8 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1167, allocations: 4 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.1171, allocations: 239.9 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1189, allocations: 1.145 MB / 474.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.1195, allocations: 307.3 kB / 474.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.1197, allocations: 157.2 kB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.1198, allocations: 15.94 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1198, allocations: 34.56 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1198, allocations: 0 / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003229/0.1231, allocations: 0.9671 MB / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.1232, allocations: 85.05 kB / 476 MB, free: 7.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1234, allocations: 206.9 kB / 476.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1234, allocations: 29.7 kB / 476.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.1235, allocations: 132.7 kB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.1236, allocations: 90.73 kB / 476.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1238, allocations: 65.69 kB / 476.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1239, allocations: 334.8 kB / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.1242, allocations: 167.9 kB / 477 MB, free: 6.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1244, allocations: 189.7 kB / 477.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.125, allocations: 366.1 kB / 477.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.125, allocations: 8 kB / 477.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001817/0.1268, allocations: 0.6888 MB / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1268, allocations: 4 kB / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1268, allocations: 4 kB / 478.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.1286, allocations: 384.4 kB / 478.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.1289, allocations: 47.86 kB / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/0.1334, allocations: 2.742 MB / 481.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1337, allocations: 31.73 kB / 481.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.1337, allocations: 16 kB / 481.5 MB, free: 2.176 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.1339, allocations: 137.8 kB / 481.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.134, allocations: 23.66 kB / 481.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.1358, allocations: 0.6637 MB / 482.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1358, allocations: 4 kB / 482.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1358, allocations: 0 / 482.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1358, allocations: 0 / 482.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.1362, allocations: 389.3 kB / 482.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1362, allocations: 0 / 482.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.1364, allocations: 39.92 kB / 482.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.138, allocations: 368.5 kB / 483.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.1381, allocations: 11.92 kB / 483.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00413/0.1422, allocations: 2.707 MB / 485.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1422, allocations: 0 / 485.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.1439, allocations: 0.7073 MB / 486.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.144, allocations: 100.8 kB / 486.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.144, allocations: 11.94 kB / 486.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1443, allocations: 15.98 kB / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.1443, allocations: 23.97 kB / 486.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1444, allocations: 8 kB / 486.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1445, allocations: 159.4 kB / 486.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1445, allocations: 0 / 486.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.145, allocations: 96 kB / 486.9 MB, free: 12.48 MB / 366.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 (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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/0.147, allocations: 1.267 MB / 488.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.1486, allocations: 0.643 MB / 488.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1486, allocations: 7.938 kB / 488.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.1498, allocations: 458.4 kB / 489.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1501, allocations: 30.67 kB / 489.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.1558, allocations: 3.351 MB / 492.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1561, allocations: 0.7446 MB / 493.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1563, allocations: 37.91 kB / 493.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1564, allocations: 67.41 kB / 493.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1564, allocations: 4 kB / 493.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.1877, allocations: 9.072 MB / 0.4908 GB, free: 12.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.58, allocations: 11.5 kB / 0.4908 GB, free: 12.78 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)