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.00125/0.00125, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001352/0.001352, allocations: 188.8 kB / 17.39 MB, free: 5.559 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05182/0.05182, allocations: 8.097 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08586, allocations: 51.51 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002738/0.08863, allocations: 1.617 MB / 467.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.09069, allocations: 1.551 MB / 468.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.0908, allocations: 4 kB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.09116, allocations: 119.3 kB / 468.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.0915, allocations: 139.1 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.09357, allocations: 1.167 MB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.09392, allocations: 250.8 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.09409, allocations: 76.34 kB / 470.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.09422, allocations: 95.64 kB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.09443, allocations: 127.5 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.09448, allocations: 27.92 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.09492, allocations: 255.8 kB / 470.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.09498, allocations: 47.72 kB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.09511, allocations: 115.5 kB / 471.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.0957, allocations: 434.7 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09572, allocations: 0 / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09572, allocations: 0 / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.09574, allocations: 4 kB / 471.5 MB, free: 12.66 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.003192/0.09893, allocations: 0.9196 MB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.09898, allocations: 11.89 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.09905, allocations: 50.73 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.09913, allocations: 28.75 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.09945, allocations: 256 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.09948, allocations: 16.7 kB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.09953, allocations: 20.38 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.1, allocations: 293.7 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1001, allocations: 3.938 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1001, allocations: 12 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1001, allocations: 4 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.1005, allocations: 243.9 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1022, allocations: 1.141 MB / 474.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.1028, allocations: 303.4 kB / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.1031, allocations: 161.2 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.1032, allocations: 11.92 kB / 474.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1032, allocations: 42.5 kB / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.1032, allocations: 0 / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003293/0.1065, allocations: 0.9634 MB / 475.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1066, allocations: 81.05 kB / 476 MB, free: 7.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1068, allocations: 210.9 kB / 476.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.1069, allocations: 33.7 kB / 476.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.107, allocations: 132.9 kB / 476.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.1071, allocations: 95.2 kB / 476.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1072, allocations: 61.69 kB / 476.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1073, allocations: 338.8 kB / 476.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.1076, allocations: 163.9 kB / 477 MB, free: 6.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.1079, allocations: 189.7 kB / 477.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.1085, allocations: 374 kB / 477.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1085, allocations: 4 kB / 477.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001907/0.1104, allocations: 0.689 MB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1104, allocations: 8 kB / 478.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1105, allocations: 0 / 478.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.1124, allocations: 392.4 kB / 478.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1126, allocations: 51.92 kB / 478.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/0.1176, allocations: 2.741 MB / 481.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.1179, allocations: 35.83 kB / 481.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1179, allocations: 12 kB / 481.5 MB, free: 2.137 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.0001607/0.1181, allocations: 141.8 kB / 481.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.1181, allocations: 23.8 kB / 481.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.12, allocations: 0.6599 MB / 482.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1201, allocations: 4 kB / 482.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1201, allocations: 0 / 482.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1201, allocations: 0 / 482.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.1205, allocations: 385.3 kB / 482.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1205, allocations: 0 / 482.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1207, allocations: 35.92 kB / 482.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.1224, allocations: 372.5 kB / 483.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1225, allocations: 15.92 kB / 483.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/0.127, allocations: 2.711 MB / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.127, allocations: 0 / 485.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.1288, allocations: 0.7035 MB / 486.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.1289, allocations: 96.91 kB / 486.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.129, allocations: 8 kB / 486.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1292, allocations: 15.98 kB / 486.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.1293, allocations: 27.97 kB / 486.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.1294, allocations: 8 kB / 486.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1295, allocations: 155.4 kB / 486.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1295, allocations: 0 / 486.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004742/0.13, allocations: 107.9 kB / 486.9 MB, free: 12.44 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.002227/0.1323, allocations: 1.264 MB / 488.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.1341, allocations: 0.6546 MB / 488.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1341, allocations: 4 kB / 488.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.1354, allocations: 450.3 kB / 489.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1357, allocations: 26.91 kB / 489.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/0.1419, allocations: 3.358 MB / 492.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1423, allocations: 0.7446 MB / 493.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1425, allocations: 37.91 kB / 493.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1426, allocations: 67.41 kB / 493.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of SimCode: time 2.295e-06/0.1426, allocations: 0 / 493.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.179, allocations: 8.804 MB / 0.4906 GB, free: 13.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.97, allocations: 10.36 kB / 0.4906 GB, free: 13.01 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)