Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.001154/0.001154, allocations: 105.9 kB / 16.45 MB, free: 6.426 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.001133/0.001133, allocations: 190 kB / 17.39 MB, free: 5.668 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.287/1.287, 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.0439/0.0439, allocations: 8.095 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09105, allocations: 51.52 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.00308/0.09417, allocations: 2.251 MB / 467.7 MB, free: 428 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.09647, allocations: 1.656 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.09662, allocations: 8 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.09706, allocations: 155.1 kB / 469.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.09749, allocations: 190.7 kB / 469.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.09915, allocations: 0.9685 MB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.09964, allocations: 418 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.09989, allocations: 146 kB / 471.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1001, allocations: 171.3 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.1004, allocations: 223.1 kB / 471.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.1004, allocations: 32 kB / 471.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.1008, allocations: 227.8 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.1009, allocations: 91.59 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.101, allocations: 195 kB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.1016, allocations: 0.5344 MB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1016, allocations: 0 / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1016, allocations: 0 / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1017, allocations: 0 / 472.7 MB, free: 11.42 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003564/0.1052, allocations: 1.146 MB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1053, allocations: 15.89 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.1053, allocations: 62.67 kB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.1054, allocations: 48.47 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1059, allocations: 327.5 kB / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1059, allocations: 20.94 kB / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.1059, allocations: 36.38 kB / 474.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.1066, allocations: 417.3 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1066, allocations: 7.875 kB / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.1067, allocations: 19.94 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1067, allocations: 4 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.1073, allocations: 410.1 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.1094, allocations: 1.534 MB / 476.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1105, allocations: 0.563 MB / 477.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.1109, allocations: 281.5 kB / 477.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/0.111, allocations: 12.36 kB / 477.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.111, allocations: 38.94 kB / 477.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.134e-06/0.111, allocations: 0 / 477.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004467/0.1155, allocations: 1.65 MB / 479.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1156, allocations: 59.41 kB / 479.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.1159, allocations: 270.7 kB / 479.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.1159, allocations: 37.7 kB / 479.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1161, allocations: 164.9 kB / 479.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1162, allocations: 153.8 kB / 479.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.1164, allocations: 90.23 kB / 480 MB, free: 3.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1165, allocations: 346.7 kB / 480.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1169, allocations: 261 kB / 480.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.1173, allocations: 273 kB / 480.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.118, allocations: 0.5821 MB / 481.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.118, allocations: 0 / 481.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002183/0.1202, allocations: 1.02 MB / 482.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1203, allocations: 8 kB / 482.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1203, allocations: 4 kB / 482.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.122, allocations: 426.1 kB / 482.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1223, allocations: 75.89 kB / 483 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.1288, allocations: 6.106 MB / 489.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.1292, allocations: 39.53 kB / 489.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.1292, allocations: 19.98 kB / 489.2 MB, free: 10.15 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.1294, allocations: 153.8 kB / 489.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.1295, allocations: 43.47 kB / 489.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.1317, allocations: 0.9936 MB / 490.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.1317, allocations: 4 kB / 490.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1318, allocations: 0 / 490.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1318, allocations: 7.922 kB / 490.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.1323, allocations: 0.5675 MB / 490.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1323, allocations: 4 kB / 490.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.1325, allocations: 59.91 kB / 491 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.1342, allocations: 422.1 kB / 491.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.1343, allocations: 8 kB / 491.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/0.1404, allocations: 6.034 MB / 497.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1405, allocations: 4.031 kB / 497.4 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.1426, allocations: 1.017 MB / 498.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1428, allocations: 120.5 kB / 498.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.1428, allocations: 11.94 kB / 498.6 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.1432, allocations: 35.91 kB / 498.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.1433, allocations: 32.39 kB / 498.7 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.1434, allocations: 19.98 kB / 498.7 MB, free: 84 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.1436, allocations: 202 kB / 498.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1436, allocations: 0 / 498.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006408/0.1443, allocations: 167.9 kB / 499 MB, free: 15.72 MB / 382.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00261/0.1469, allocations: 1.589 MB / 0.4889 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.1489, allocations: 1.095 MB / 0.49 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1489, allocations: 0 / 0.49 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.1503, allocations: 0.764 MB / 0.4907 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1508, allocations: 44.88 kB / 0.4908 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.1587, allocations: 4.706 MB / 0.4954 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1592, allocations: 0.7973 MB / 0.4961 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.1594, allocations: 50.92 kB / 0.4962 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.1596, allocations: 115.4 kB / 0.4963 GB, free: 6.328 MB / 382.1 MB Notification: Performance of SimCode: time 3.156e-06/0.1596, allocations: 4 kB / 0.4963 GB, free: 6.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/0.3917, allocations: 14.89 MB / 0.5108 GB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 13.92 kB / 0.5109 GB, free: 45.61 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)