Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 179.8 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.7 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 102.9 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04428/0.04428, allocations: 8.112 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8.094 kB / 413.2 MB, free: 89.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09083, allocations: 52.54 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.4125, allocations: 78.41 MB / 0.5314 GB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.4128, allocations: 59.95 kB / 0.5314 GB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01365/0.4264, allocations: 5.489 MB / 0.5368 GB, free: 31.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4265, allocations: 0 / 0.5368 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.4265, allocations: 0 / 0.5368 GB, free: 31.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009943/0.4275, allocations: 0.5003 MB / 0.5373 GB, free: 31.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4276, allocations: 7.781 kB / 0.5373 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.4276, allocations: 49.25 kB / 0.5373 GB, free: 31.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.4277, allocations: 15.64 kB / 0.5373 GB, free: 31.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.4279, allocations: 215.9 kB / 0.5375 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4279, allocations: 8.5 kB / 0.5376 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.428, allocations: 11.56 kB / 0.5376 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.4283, allocations: 169.2 kB / 0.5377 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4283, allocations: 0 / 0.5377 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.4283, allocations: 7.812 kB / 0.5377 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4283, allocations: 3.953 kB / 0.5377 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.4286, allocations: 157.9 kB / 0.5379 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.4296, allocations: 0.6062 MB / 0.5385 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.4299, allocations: 158.8 kB / 0.5386 GB, free: 30.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.43, allocations: 82.98 kB / 0.5387 GB, free: 30.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.43, allocations: 35.17 kB / 0.5387 GB, free: 30.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.4301, allocations: 7.781 kB / 0.5388 GB, free: 30.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009167/0.431, allocations: 383.2 kB / 0.5391 GB, free: 30.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.431, allocations: 59.36 kB / 0.5392 GB, free: 30.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4312, allocations: 164.2 kB / 0.5393 GB, free: 30.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4312, allocations: 29.64 kB / 0.5394 GB, free: 30.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.4312, allocations: 123.8 kB / 0.5395 GB, free: 30.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.4313, allocations: 38.91 kB / 0.5395 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.4313, allocations: 7.75 kB / 0.5395 GB, free: 30.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.4314, allocations: 318.4 kB / 0.5398 GB, free: 29.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4315, allocations: 74.28 kB / 0.5399 GB, free: 29.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.4316, allocations: 87 kB / 0.54 GB, free: 29.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.4317, allocations: 81.86 kB / 0.5401 GB, free: 29.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4317, allocations: 3.938 kB / 0.5401 GB, free: 29.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004461/0.4322, allocations: 273.4 kB / 0.5403 GB, free: 29.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4322, allocations: 7.719 kB / 0.5403 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4322, allocations: 0 / 0.5403 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.4325, allocations: 54.33 kB / 0.5404 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.4327, allocations: 32.45 kB / 0.5404 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.434, allocations: 1.451 MB / 0.5418 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.4342, allocations: 14.97 kB / 0.5418 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.4342, allocations: 7.266 kB / 0.5419 GB, free: 28.59 MB / 378.7 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.4344, allocations: 127.6 kB / 0.542 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4344, allocations: 19.17 kB / 0.542 GB, free: 28.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.4349, allocations: 229.2 kB / 0.5422 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4349, allocations: 3.875 kB / 0.5422 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4349, allocations: 7.938 kB / 0.5422 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4349, allocations: 1.922 kB / 0.5422 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.4352, allocations: 289.5 kB / 0.5425 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4352, allocations: 4 kB / 0.5425 GB, free: 28.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.4353, allocations: 23.11 kB / 0.5425 GB, free: 28.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.4355, allocations: 50.52 kB / 0.5426 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.4356, allocations: 0 / 0.5426 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.4367, allocations: 1.453 MB / 0.544 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4367, allocations: 0 / 0.544 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.4371, allocations: 309.4 kB / 0.5443 GB, free: 26.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.4372, allocations: 92.78 kB / 0.5444 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4372, allocations: 192 / 0.5444 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4373, allocations: 11.75 kB / 0.5444 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.4374, allocations: 6.969 kB / 0.5444 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4374, allocations: 3.844 kB / 0.5444 GB, free: 26.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.4375, allocations: 139.2 kB / 0.5445 GB, free: 26.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4375, allocations: 0 / 0.5445 GB, free: 26.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.4378, allocations: 60.69 kB / 0.5446 GB, free: 26.57 MB / 378.7 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007234/0.4385, allocations: 0.8581 MB / 0.5454 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.4391, allocations: 294.7 kB / 0.5457 GB, free: 25.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4392, allocations: 0 / 0.5457 GB, free: 25.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.4395, allocations: 205.3 kB / 0.5459 GB, free: 25.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4396, allocations: 11.77 kB / 0.5459 GB, free: 25.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.441, allocations: 0.989 MB / 0.5469 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.4413, allocations: 0.7209 MB / 0.5476 GB, free: 24.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.4414, allocations: 14.91 kB / 0.5476 GB, free: 24.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.4415, allocations: 39.7 kB / 0.5476 GB, free: 24.48 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4415, allocations: 0 / 0.5476 GB, free: 24.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.4578, allocations: 3.48 MB / 0.551 GB, free: 24.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.458, allocations: 201.9 kB / 0.5512 GB, free: 23.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.097, allocations: 3.938 kB / 0.5512 GB, free: 23.91 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)