Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001237/0.001237, allocations: 103.4 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.001224/0.001224, allocations: 189.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.434/1.434, 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.0493/0.0493, allocations: 8.095 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.88 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08625, allocations: 51.52 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003428/0.08971, allocations: 2.313 MB / 467.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.09207, allocations: 1.656 MB / 469.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.0922, allocations: 8 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.09263, allocations: 167 kB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.09312, allocations: 202.7 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.09537, allocations: 1.217 MB / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.09597, allocations: 421.9 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.09621, allocations: 131.5 kB / 471.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.0964, allocations: 171.3 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.09672, allocations: 207.1 kB / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.09679, allocations: 35.94 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005148/0.09732, allocations: 271.8 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.09741, allocations: 79.69 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.09761, allocations: 199 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.09835, allocations: 0.5722 MB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09836, allocations: 4 kB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09837, allocations: 0 / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.09839, allocations: 0 / 473.1 MB, free: 11.03 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005261/0.1037, allocations: 1.372 MB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1037, allocations: 15.89 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.557e-05/0.1038, allocations: 74.66 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.104, allocations: 44.7 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.1044, allocations: 327.6 kB / 474.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1045, allocations: 20.94 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.1045, allocations: 36.38 kB / 475 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.1053, allocations: 476.9 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1054, allocations: 3.938 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.1054, allocations: 12 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1054, allocations: 4 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.1061, allocations: 418.1 kB / 475.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.1089, allocations: 2.013 MB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/0.1099, allocations: 0.5267 MB / 478.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.1103, allocations: 280.8 kB / 478.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.1104, allocations: 8 kB / 478.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1104, allocations: 34.56 kB / 478.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.1104, allocations: 3.938 kB / 478.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007296/0.1177, allocations: 1.935 MB / 480.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.1178, allocations: 110.8 kB / 480.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.1181, allocations: 270.9 kB / 481.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.1182, allocations: 37.7 kB / 481.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1183, allocations: 169 kB / 481.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.1185, allocations: 154.6 kB / 481.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.1187, allocations: 102.2 kB / 481.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1188, allocations: 342.8 kB / 481.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.1193, allocations: 301 kB / 482.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.1198, allocations: 348.6 kB / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1209, allocations: 0.649 MB / 483.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1209, allocations: 0 / 483.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003638/0.1245, allocations: 1.26 MB / 484.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1246, allocations: 11.88 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1246, allocations: 0 / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/0.1283, allocations: 0.7734 MB / 485.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.1287, allocations: 87.83 kB / 485.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/0.1365, allocations: 4.174 MB / 489.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.137, allocations: 55.62 kB / 489.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.137, allocations: 19.98 kB / 489.5 MB, free: 10.03 MB / 366.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.1373, allocations: 157.7 kB / 489.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.1374, allocations: 31.81 kB / 489.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.141, allocations: 1.222 MB / 490.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1411, allocations: 4 kB / 490.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1411, allocations: 0 / 490.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1411, allocations: 11.97 kB / 490.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.1417, allocations: 0.5561 MB / 491.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1418, allocations: 0 / 491.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.142, allocations: 63.91 kB / 491.5 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003632/0.1456, allocations: 0.7499 MB / 492.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.1457, allocations: 7.984 kB / 492.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.1532, allocations: 4.134 MB / 496.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1532, allocations: 0 / 496.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.1566, allocations: 1.226 MB / 497.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1568, allocations: 116.8 kB / 497.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.1568, allocations: 11.94 kB / 497.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.1572, allocations: 27.08 kB / 497.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1574, allocations: 48.25 kB / 497.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.1574, allocations: 16 kB / 497.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1576, allocations: 194 kB / 498.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1576, allocations: 0 / 498.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006273/0.1583, allocations: 176 kB / 498.2 MB, free: 1.039 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003829/0.1621, allocations: 1.798 MB / 0.4883 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.1648, allocations: 1.051 MB / 0.4893 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.1648, allocations: 0 / 0.4893 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.1666, allocations: 0.6843 MB / 0.49 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.167, allocations: 36.02 kB / 0.49 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.1776, allocations: 5.211 MB / 0.4951 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1781, allocations: 0.8051 MB / 0.4959 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.1783, allocations: 46.92 kB / 0.496 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1785, allocations: 131.3 kB / 0.4961 GB, free: 7.113 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1785, allocations: 0 / 0.4961 GB, free: 7.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2065/0.385, allocations: 15.21 MB / 0.5109 GB, free: 46.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.43, allocations: 12.28 kB / 0.511 GB, free: 46.23 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)