Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.001119/0.00112, allocations: 105.5 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.001277/0.001277, allocations: 186.9 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.272/1.272, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0484/0.0484, allocations: 8.101 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 67.83 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08718, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.00265/0.08987, allocations: 1.835 MB / 467.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.09167, allocations: 1.547 MB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.09177, allocations: 8 kB / 468.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.09213, allocations: 139.2 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.09243, allocations: 143.1 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.09373, allocations: 0.7973 MB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.0941, allocations: 306.5 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.0943, allocations: 121.7 kB / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.09442, allocations: 115.6 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.09459, allocations: 163.3 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.09463, allocations: 24 kB / 470.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.09495, allocations: 175.8 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.095, allocations: 59.81 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.09512, allocations: 147.3 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.09557, allocations: 430.4 kB / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09559, allocations: 0 / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0956, allocations: 0 / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.09561, allocations: 0 / 471.5 MB, free: 12.67 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002798/0.09841, allocations: 0.9553 MB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.09846, allocations: 19.89 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/0.09853, allocations: 54.73 kB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.09861, allocations: 32.56 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.09889, allocations: 276.2 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.09892, allocations: 16.81 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.09896, allocations: 24.38 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.09949, allocations: 343.8 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.09951, allocations: 7.875 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.09954, allocations: 8 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.09955, allocations: 4 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.1, allocations: 337.6 kB / 473.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1015, allocations: 1.025 MB / 474.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.102, allocations: 401.6 kB / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.1023, allocations: 224.8 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.1024, allocations: 11.94 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1024, allocations: 43.09 kB / 475.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.1024, allocations: 0 / 475.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002294/0.1047, allocations: 1.053 MB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1048, allocations: 59.41 kB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.105, allocations: 227 kB / 476.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.1051, allocations: 37.7 kB / 476.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.1052, allocations: 140.5 kB / 476.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.1052, allocations: 118.3 kB / 476.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1054, allocations: 90.02 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1055, allocations: 330.8 kB / 477.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.1058, allocations: 236.8 kB / 477.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.1062, allocations: 247.9 kB / 477.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.1069, allocations: 0.5054 MB / 478.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1069, allocations: 0 / 478.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001237/0.1081, allocations: 0.7208 MB / 478.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1082, allocations: 10.34 kB / 479 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1082, allocations: 4 kB / 479 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.1088, allocations: 154.5 kB / 479.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.1092, allocations: 79.89 kB / 479.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.1129, allocations: 4.618 MB / 483.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1132, allocations: 35.72 kB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.1132, allocations: 19.98 kB / 483.9 MB, free: 15.54 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 (50): * Single equations (assignments): 47 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.1134, allocations: 145.8 kB / 484 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.1134, allocations: 23.72 kB / 484 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1145, allocations: 0.6039 MB / 484.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1146, allocations: 4 kB / 484.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1146, allocations: 0 / 484.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1146, allocations: 0 / 484.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.115, allocations: 457.1 kB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.115, allocations: 0 / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.1153, allocations: 51.91 kB / 485.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005374/0.1158, allocations: 154.5 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.1158, allocations: 7.984 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.1195, allocations: 4.603 MB / 489.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1195, allocations: 7.969 kB / 489.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1205, allocations: 0.6273 MB / 490.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1206, allocations: 108.8 kB / 490.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.1207, allocations: 11.91 kB / 490.6 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1209, allocations: 4 kB / 490.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.121, allocations: 27.97 kB / 490.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.121, allocations: 8 kB / 490.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1211, allocations: 168.1 kB / 490.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1211, allocations: 0 / 490.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000457/0.1216, allocations: 115.9 kB / 491 MB, free: 7.883 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 (32): * Single equations (assignments): 29 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001338/0.123, allocations: 1.195 MB / 492.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.1244, allocations: 0.8889 MB / 493 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1244, allocations: 0 / 493 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.1253, allocations: 0.5748 MB / 493.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.1256, allocations: 24.61 kB / 493.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.1303, allocations: 3.565 MB / 497.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1306, allocations: 0.761 MB / 498 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1308, allocations: 38.23 kB / 498 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1309, allocations: 79.41 kB / 498.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1309, allocations: 7.938 kB / 498.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.1619, allocations: 7.625 MB / 0.4939 GB, free: 8.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.867/9.029, allocations: 6.406 kB / 0.4939 GB, free: 8.98 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)