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.001361/0.001361, allocations: 109.1 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.001036/0.001036, allocations: 182.9 kB / 17.38 MB, free: 5.672 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04808/0.04808, allocations: 8.108 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.0982, allocations: 51.52 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.00353/0.1018, allocations: 2.309 MB / 467.8 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1044, allocations: 1.66 MB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.1047, allocations: 4 kB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.1053, allocations: 159.1 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.106, allocations: 222.6 kB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.1083, allocations: 1.218 MB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.109, allocations: 414 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1093, allocations: 130 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.1096, allocations: 171.4 kB / 471.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.1099, allocations: 211.1 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.11, allocations: 28 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.1106, allocations: 271.7 kB / 472.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.1107, allocations: 75.73 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.111, allocations: 195 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009001/0.1119, allocations: 0.5812 MB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1119, allocations: 0 / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1119, allocations: 0 / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1119, allocations: 4 kB / 473.1 MB, free: 11.02 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.005103/0.117, allocations: 1.365 MB / 474.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1171, allocations: 11.89 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.501e-05/0.1172, allocations: 62.73 kB / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1173, allocations: 44.47 kB / 474.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1178, allocations: 327.5 kB / 474.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/0.1179, allocations: 28.94 kB / 474.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.1179, allocations: 36.38 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.1187, allocations: 469 kB / 475.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1187, allocations: 3.938 kB / 475.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.1188, allocations: 12 kB / 475.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1188, allocations: 7.984 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.1194, allocations: 422 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.122, allocations: 2.005 MB / 477.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.1229, allocations: 0.5227 MB / 478.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.1233, allocations: 280.8 kB / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/0.1234, allocations: 15.97 kB / 478.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1234, allocations: 38.56 kB / 478.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.036e-06/0.1234, allocations: 0 / 478.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006802/0.1302, allocations: 1.923 MB / 480.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.1303, allocations: 110.8 kB / 480.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.1306, allocations: 274.9 kB / 481 MB, free: 2.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.1307, allocations: 37.7 kB / 481.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1308, allocations: 172.7 kB / 481.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.1309, allocations: 145.8 kB / 481.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1311, allocations: 102.2 kB / 481.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1313, allocations: 346.8 kB / 481.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.1317, allocations: 293 kB / 482.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.1322, allocations: 356.6 kB / 482.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.1331, allocations: 0.6451 MB / 483.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1331, allocations: 0 / 483.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003248/0.1364, allocations: 1.26 MB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1364, allocations: 11.92 kB / 484.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1364, allocations: 0 / 484.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.1399, allocations: 0.7773 MB / 485.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.1402, allocations: 87.89 kB / 485.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007155/0.1474, allocations: 4.155 MB / 489.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.1478, allocations: 59.42 kB / 489.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.1479, allocations: 23.98 kB / 489.5 MB, free: 10.05 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.0002255/0.1482, allocations: 157.7 kB / 489.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1483, allocations: 31.62 kB / 489.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.1516, allocations: 1.214 MB / 490.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1516, allocations: 8 kB / 490.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1516, allocations: 0 / 490.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1516, allocations: 3.984 kB / 490.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.1522, allocations: 0.5676 MB / 491.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1523, allocations: 0 / 491.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.1525, allocations: 63.91 kB / 491.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.1559, allocations: 0.7411 MB / 492.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.1559, allocations: 15.94 kB / 492.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.1627, allocations: 4.121 MB / 496.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1627, allocations: 4 kB / 496.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.1658, allocations: 1.222 MB / 497.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.166, allocations: 124.5 kB / 497.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.166, allocations: 4 kB / 497.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.1664, allocations: 35.67 kB / 497.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1665, allocations: 36.33 kB / 497.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.1666, allocations: 23.98 kB / 497.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1668, allocations: 190 kB / 498 MB, free: 1.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1668, allocations: 4 kB / 498 MB, free: 1.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006814/0.1675, allocations: 175.9 kB / 498.2 MB, free: 1.074 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.003592/0.1711, allocations: 1.794 MB / 500 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002502/0.1736, allocations: 1.047 MB / 0.4893 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1736, allocations: 0 / 0.4893 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.1753, allocations: 0.6882 MB / 0.49 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1757, allocations: 39.45 kB / 0.49 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/0.1855, allocations: 5.202 MB / 0.4951 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1858, allocations: 0.8013 MB / 0.4959 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.186, allocations: 46.92 kB / 0.4959 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.1862, allocations: 123.4 kB / 0.496 GB, free: 7.172 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1862, allocations: 3.938 kB / 0.496 GB, free: 7.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2354/0.4216, allocations: 15.75 MB / 0.5114 GB, free: 45.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.37, allocations: 3.672 kB / 0.5114 GB, free: 45.83 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)