Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.005194/0.005194, allocations: 93.8 kB / 15.91 MB, free: 6.277 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.001118/0.001118, allocations: 197.4 kB / 16.84 MB, free: 6.191 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1417/0.1417, allocations: 8.085 MB / 298.7 MB, free: 2.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.88 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08689, allocations: 51.52 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002262/0.08919, allocations: 1.042 MB / 413.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.09047, allocations: 1.104 MB / 414.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.09053, allocations: 0 / 414.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.0908, allocations: 51.83 kB / 414.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.09095, allocations: 31.84 kB / 414.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.09156, allocations: 322.8 kB / 415.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.09167, allocations: 67.67 kB / 415.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.09178, allocations: 35.94 kB / 415.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.09182, allocations: 23.92 kB / 415.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.09196, allocations: 47.83 kB / 415.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.09198, allocations: 4 kB / 415.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.09215, allocations: 79.91 kB / 415.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.09218, allocations: 15.86 kB / 415.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.09223, allocations: 35.81 kB / 415.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.09245, allocations: 139.9 kB / 415.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.09246, allocations: 4 kB / 415.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09247, allocations: 0 / 415.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.09247, allocations: 0 / 415.6 MB, free: 7.082 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007102/0.09319, allocations: 423.2 kB / 416.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.09323, allocations: 12.03 kB / 416.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.09328, allocations: 34.75 kB / 416.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.09332, allocations: 12.84 kB / 416.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.09347, allocations: 180.2 kB / 416.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.09349, allocations: 8.375 kB / 416.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.09351, allocations: 8.312 kB / 416.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.09367, allocations: 86.16 kB / 416.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.09369, allocations: 3.938 kB / 416.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.09371, allocations: 12 kB / 416.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.09372, allocations: 0 / 416.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.09382, allocations: 47.98 kB / 416.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.0943, allocations: 356.6 kB / 416.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.09459, allocations: 82.61 kB / 416.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.09464, allocations: 20.98 kB / 416.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.09475, allocations: 85.09 kB / 417 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.09478, allocations: 38.5 kB / 417 MB, free: 5.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.09479, allocations: 0 / 417 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.09529, allocations: 191.5 kB / 417.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.09533, allocations: 55.41 kB / 417.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.09545, allocations: 125.8 kB / 417.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.09547, allocations: 25.7 kB / 417.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.09553, allocations: 104 kB / 417.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.09555, allocations: 15.75 kB / 417.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.09559, allocations: 17.72 kB / 417.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.09571, allocations: 322.8 kB / 417.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.09574, allocations: 8 kB / 417.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.09577, allocations: 15.98 kB / 417.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.09583, allocations: 28.86 kB / 417.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.09583, allocations: 0 / 417.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000242/0.09608, allocations: 90.31 kB / 418 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.0961, allocations: 4 kB / 418 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.09612, allocations: 384 / 418 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.09632, allocations: 36.78 kB / 418 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.09637, allocations: 7.984 kB / 418.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009644/0.09734, allocations: 1.273 MB / 419.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.0974, allocations: 11.88 kB / 419.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.09741, allocations: 8.031 kB / 419.3 MB, free: 2.965 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 (4): * Single equations (assignments): 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/0.0975, allocations: 121.8 kB / 419.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.09754, allocations: 3.906 kB / 419.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.09778, allocations: 106.5 kB / 419.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09779, allocations: 0 / 419.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.0978, allocations: 0 / 419.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.0978, allocations: 3.938 kB / 419.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.09799, allocations: 185.6 kB / 419.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.098, allocations: 0 / 419.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.09803, allocations: 8 kB / 419.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.09818, allocations: 28.83 kB / 419.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.0982, allocations: 0 / 419.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.09922, allocations: 1.288 MB / 421.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.09923, allocations: 0 / 421.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.09951, allocations: 188.5 kB / 421.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.09957, allocations: 84.95 kB / 421.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.09959, allocations: 4 kB / 421.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.0997, allocations: 7.984 kB / 421.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.09973, allocations: 8 kB / 421.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.09975, allocations: 12.05 kB / 421.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.09982, allocations: 91.27 kB / 421.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09983, allocations: 0 / 421.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1001, allocations: 31.84 kB / 421.5 MB, free: 0.5703 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 (5): * Single equations (assignments): 4 * 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): 1 system {(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.0005225/0.1006, allocations: 0.725 MB / 422.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1009, allocations: 150.7 kB / 422.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1009, allocations: 0 / 422.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.1012, allocations: 146.7 kB / 422.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1015, allocations: 18.45 kB / 422.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1029, allocations: 1.443 MB / 424 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1032, allocations: 0.6926 MB / 424.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.1033, allocations: 7.75 kB / 424.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.1033, allocations: 27.42 kB / 424.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1033, allocations: 0 / 424.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.1154, allocations: 2.289 MB / 427 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.1156, allocations: 185.8 kB / 427.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.666, allocations: 0 / 427.2 MB, free: 10.73 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)