Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.0009896/0.0009895, allocations: 107 kB / 16.45 MB, free: 6.445 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.001012/0.001012, allocations: 193.4 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.239/1.239, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0434/0.0434, allocations: 8.103 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 55.91 kB / 413.9 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08281, allocations: 51.52 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001872/0.08474, allocations: 0.9288 MB / 466.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.08611, allocations: 1.158 MB / 467.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.08617, allocations: 4 kB / 467.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.08641, allocations: 59.7 kB / 467.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.08655, allocations: 23.84 kB / 467.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.818e-05/0.08663, allocations: 35.84 kB / 467.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.08672, allocations: 55.73 kB / 467.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.08685, allocations: 31.95 kB / 467.8 MB, free: 392 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.08689, allocations: 19.92 kB / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.08697, allocations: 31.84 kB / 467.8 MB, free: 340 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.08699, allocations: 12 kB / 467.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.08711, allocations: 59.92 kB / 467.9 MB, free: 268 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.08714, allocations: 8 kB / 467.9 MB, free: 260 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.08718, allocations: 39.72 kB / 467.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.08737, allocations: 106.5 kB / 468 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.08738, allocations: 0 / 468 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.08739, allocations: 4 kB / 468 MB, free: 112 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.0874, allocations: 0 / 468 MB, free: 112 kB / 334.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.0005893/0.08799, allocations: 380.2 kB / 468.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.08804, allocations: 19.89 kB / 468.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.08807, allocations: 34.75 kB / 468.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.0881, allocations: 8.844 kB / 468.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.08822, allocations: 176.2 kB / 468.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.08824, allocations: 4.375 kB / 468.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.08826, allocations: 4.375 kB / 468.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.0884, allocations: 78.23 kB / 468.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.08842, allocations: 3.938 kB / 468.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.08843, allocations: 4 kB / 468.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.08844, allocations: 4 kB / 468.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.08853, allocations: 51.91 kB / 468.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.08896, allocations: 340.5 kB / 469.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.08902, allocations: 26.52 kB / 469.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.08905, allocations: 8.922 kB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.08917, allocations: 85.11 kB / 469.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.0892, allocations: 34.56 kB / 469.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.0892, allocations: 0 / 469.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000143/0.08935, allocations: 49.62 kB / 469.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.08939, allocations: 55.34 kB / 469.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.08949, allocations: 113.8 kB / 469.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.08951, allocations: 25.7 kB / 469.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.08958, allocations: 115.8 kB / 469.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.08959, allocations: 11.88 kB / 469.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.08963, allocations: 29.73 kB / 469.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.08974, allocations: 314.8 kB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.08977, allocations: 15.98 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.0898, allocations: 8 kB / 470 MB, free: 13.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.08985, allocations: 24.86 kB / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.08985, allocations: 0 / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.888e-05/0.08996, allocations: 69.61 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.08998, allocations: 8 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.08999, allocations: 0 / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.09, allocations: 7.938 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.09008, allocations: 8 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.09009, allocations: 320 / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.09014, allocations: 4 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.09015, allocations: 3.938 kB / 470.1 MB, free: 13.77 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.09023, allocations: 117.8 kB / 470.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.09026, allocations: 7.906 kB / 470.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.09036, allocations: 57.09 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.09037, allocations: 7.969 kB / 470.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.09038, allocations: 192 / 470.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.09039, allocations: 0 / 470.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.09055, allocations: 177.6 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09056, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.09058, allocations: 4 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.09059, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.0906, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.09061, allocations: 7.922 kB / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.09061, allocations: 0 / 470.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.543e-05/0.09071, allocations: 143.5 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.09076, allocations: 81.02 kB / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.09078, allocations: 0 / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.39e-05/0.09083, allocations: 3.938 kB / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.09086, allocations: 7.984 kB / 470.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.09087, allocations: 0 / 470.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.09093, allocations: 95.22 kB / 470.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.09094, allocations: 0 / 470.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.09118, allocations: 19.97 kB / 470.8 MB, free: 12.95 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004024/0.09158, allocations: 0.6773 MB / 471.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.07e-05/0.09169, allocations: 28.03 kB / 471.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0917, allocations: 3.938 kB / 471.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.09171, allocations: 4 kB / 471.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.09192, allocations: 7.922 kB / 471.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.09232, allocations: 192.6 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.09258, allocations: 0.6844 MB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.722e-05/0.09262, allocations: 8.062 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.09265, allocations: 15.42 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.09266, allocations: 0 / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.108, allocations: 1.606 MB / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.03, allocations: 7.062 kB / 474.1 MB, free: 9.68 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)