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.001626/0.001627, allocations: 108.6 kB / 16.45 MB, free: 6.496 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.001694/0.001694, allocations: 189.5 kB / 17.39 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05052/0.05052, allocations: 8.105 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 71.88 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.08991, allocations: 51.51 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.003361/0.09331, allocations: 2.247 MB / 467.7 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.09581, allocations: 1.664 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.09595, allocations: 4 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.09637, allocations: 155.1 kB / 469.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.09682, allocations: 194.7 kB / 469.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.09869, allocations: 0.9686 MB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.09925, allocations: 422 kB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.09948, allocations: 127.5 kB / 471.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.09967, allocations: 171.3 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.1, allocations: 239 kB / 471.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.1001, allocations: 32 kB / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.1006, allocations: 219.8 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.1006, allocations: 79.62 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.1009, allocations: 195 kB / 472.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007383/0.1016, allocations: 0.5526 MB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1016, allocations: 0 / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1016, allocations: 0 / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1016, allocations: 0 / 472.7 MB, free: 11.41 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.00401/0.1057, allocations: 1.149 MB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1057, allocations: 11.89 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.852e-05/0.1058, allocations: 70.72 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.106, allocations: 52.66 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.1065, allocations: 331.6 kB / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1065, allocations: 24.94 kB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.1066, allocations: 28.38 kB / 474.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007359/0.1073, allocations: 413.3 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1073, allocations: 11.88 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.1074, allocations: 8 kB / 474.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1074, allocations: 8 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.1081, allocations: 414.1 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.1105, allocations: 1.542 MB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.1118, allocations: 0.5552 MB / 477.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.1122, allocations: 277.5 kB / 477.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.1123, allocations: 16.34 kB / 477.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.1124, allocations: 42.94 kB / 477.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.765e-06/0.1124, allocations: 0 / 477.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.005002/0.1174, allocations: 1.651 MB / 479.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1174, allocations: 55.41 kB / 479.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.1178, allocations: 274.7 kB / 479.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.1179, allocations: 33.7 kB / 479.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.118, allocations: 169 kB / 479.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.1182, allocations: 166.5 kB / 480 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1184, allocations: 94.23 kB / 480.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1186, allocations: 346.8 kB / 480.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.119, allocations: 265 kB / 480.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.1194, allocations: 269 kB / 480.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.1203, allocations: 0.582 MB / 481.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1204, allocations: 0 / 481.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002515/0.1229, allocations: 1.02 MB / 482.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1229, allocations: 6.344 kB / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1229, allocations: 0 / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.1249, allocations: 438.1 kB / 483 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1252, allocations: 71.91 kB / 483 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.133, allocations: 6.114 MB / 489.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.1335, allocations: 39.72 kB / 489.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.1336, allocations: 16 kB / 489.2 MB, free: 10.11 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.0002469/0.1338, allocations: 161.8 kB / 489.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.1339, allocations: 39.7 kB / 489.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.1364, allocations: 1.002 MB / 490.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1364, allocations: 4 kB / 490.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1364, allocations: 4 kB / 490.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1364, allocations: 7.922 kB / 490.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.137, allocations: 0.5599 MB / 491 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1371, allocations: 0 / 491 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.1373, allocations: 59.91 kB / 491 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.1391, allocations: 426 kB / 491.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.1392, allocations: 12 kB / 491.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.1462, allocations: 6.034 MB / 497.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1463, allocations: 0 / 497.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.1486, allocations: 1.021 MB / 498.5 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1487, allocations: 120.7 kB / 498.6 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.1488, allocations: 15.94 kB / 498.7 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.1491, allocations: 23.98 kB / 498.7 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.1493, allocations: 44.38 kB / 498.7 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.1493, allocations: 20 kB / 498.7 MB, free: 28 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.1496, allocations: 197.9 kB / 498.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1496, allocations: 0 / 498.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.1502, allocations: 168 kB / 499.1 MB, free: 15.67 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.002749/0.153, allocations: 1.589 MB / 0.489 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.1551, allocations: 1.099 MB / 0.49 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.1551, allocations: 0 / 0.49 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.1566, allocations: 0.7561 MB / 0.4908 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.1571, allocations: 57 kB / 0.4908 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/0.1656, allocations: 4.721 MB / 0.4954 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.1661, allocations: 0.8051 MB / 0.4962 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.1663, allocations: 42.92 kB / 0.4963 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.1665, allocations: 119.4 kB / 0.4964 GB, free: 6.25 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1665, allocations: 0 / 0.4964 GB, free: 6.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2379/0.4045, allocations: 14.43 MB / 0.5105 GB, free: 45.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.35, allocations: 13.34 kB / 0.5105 GB, free: 45.88 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)