Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.0007172/0.0007204, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007978/0.0007982, allocations: 181 kB / 16.96 MB, free: 6.902 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.299/1.299, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1439/0.1439, allocations: 8.082 MB / 300.2 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1001, allocations: 52.53 MB / 416.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.002755/0.1029, allocations: 2.459 MB / 418.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1055, allocations: 1.629 MB / 420.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1057, allocations: 8 kB / 420.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.1062, allocations: 155.3 kB / 420.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006427/0.1069, allocations: 206.8 kB / 420.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.109, allocations: 1.191 MB / 421.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.1097, allocations: 465.7 kB / 422.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1099, allocations: 153.5 kB / 422.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1102, allocations: 171.3 kB / 422.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.1105, allocations: 242.9 kB / 422.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.1106, allocations: 24 kB / 422.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1111, allocations: 263.8 kB / 423 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.1112, allocations: 79.61 kB / 423.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1114, allocations: 248.5 kB / 423.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.1122, allocations: 0.6267 MB / 424 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1122, allocations: 4 kB / 424 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1122, allocations: 0 / 424 MB, free: 364 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1122, allocations: 0 / 424 MB, free: 364 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.1561/0.2683, allocations: 1.434 MB / 425.4 MB, free: 41.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2683, allocations: 13.16 kB / 425.4 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.2684, allocations: 79.06 kB / 425.5 MB, free: 41.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.2686, allocations: 50.19 kB / 425.6 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.2689, allocations: 349.1 kB / 425.9 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.2689, allocations: 36.55 kB / 425.9 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.269, allocations: 39.97 kB / 426 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.2698, allocations: 0.5859 MB / 426.6 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2698, allocations: 7.812 kB / 426.6 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.2698, allocations: 16.47 kB / 426.6 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2699, allocations: 6.656 kB / 426.6 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.2705, allocations: 0.5314 MB / 427.1 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.2728, allocations: 2.294 MB / 429.4 MB, free: 39.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/0.2738, allocations: 0.8369 MB / 430.3 MB, free: 39.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.2741, allocations: 329.3 kB / 430.6 MB, free: 39.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.2742, allocations: 13.39 kB / 430.6 MB, free: 39.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2742, allocations: 48.31 kB / 430.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.2742, allocations: 0 / 430.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006448/0.2807, allocations: 2.018 MB / 432.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2807, allocations: 109.5 kB / 432.8 MB, free: 39.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.2809, allocations: 276.6 kB / 433 MB, free: 38.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.281, allocations: 42.98 kB / 433.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.2811, allocations: 183.5 kB / 433.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.2812, allocations: 182.4 kB / 433.4 MB, free: 38.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.2812, allocations: 57.53 kB / 433.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.2813, allocations: 346.8 kB / 433.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.2818, allocations: 322.7 kB / 434.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.2822, allocations: 382.3 kB / 434.5 MB, free: 38.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.283, allocations: 0.7203 MB / 435.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.283, allocations: 0 / 435.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003133/0.2862, allocations: 1.346 MB / 436.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2862, allocations: 6.219 kB / 436.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2862, allocations: 0 / 436.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/0.2895, allocations: 0.7918 MB / 437.4 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.2898, allocations: 104.7 kB / 437.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/0.2955, allocations: 3.818 MB / 441.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.2959, allocations: 62.61 kB / 441.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.2959, allocations: 23.28 kB / 441.4 MB, free: 34.52 MB / 350.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 (61): * Single equations (assignments): 60 * 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.0001662/0.2961, allocations: 169.2 kB / 441.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.2962, allocations: 43.88 kB / 441.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.2994, allocations: 1.313 MB / 442.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.2994, allocations: 10.09 kB / 442.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.2994, allocations: 3.344 kB / 442.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2994, allocations: 7.078 kB / 442.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.303, allocations: 1.973 MB / 444.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.303, allocations: 0 / 444.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3032, allocations: 75.64 kB / 445 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.3064, allocations: 0.7669 MB / 445.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.3065, allocations: 15.47 kB / 445.8 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005389/0.3119, allocations: 3.783 MB / 449.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3119, allocations: 0 / 449.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.3148, allocations: 1.308 MB / 450.9 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.3149, allocations: 125.5 kB / 451 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.315, allocations: 15.56 kB / 451 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.3153, allocations: 27.38 kB / 451 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.3154, allocations: 40.38 kB / 451.1 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.3155, allocations: 21.02 kB / 451.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.3156, allocations: 188.3 kB / 451.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3156, allocations: 0 / 451.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.3162, allocations: 203.2 kB / 451.5 MB, free: 29.22 MB / 350.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 (45): * Single equations (assignments): 44 * 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.003149/0.3193, allocations: 1.878 MB / 453.3 MB, free: 28.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3214, allocations: 1.101 MB / 454.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3215, allocations: 6.984 kB / 454.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.323, allocations: 0.7115 MB / 455.2 MB, free: 27.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3234, allocations: 38.33 kB / 455.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.3321, allocations: 5.696 MB / 460.9 MB, free: 24.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3323, allocations: 0.8326 MB / 461.7 MB, free: 23.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.3325, allocations: 57.02 kB / 461.8 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3327, allocations: 146.7 kB / 461.9 MB, free: 23.26 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3327, allocations: 4 kB / 461.9 MB, free: 23.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.3613, allocations: 14.68 MB / 476.6 MB, free: 20.86 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.3615, allocations: 268.7 kB / 476.9 MB, free: 20.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.259, allocations: 1.312 kB / 476.9 MB, free: 20.51 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)