Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.001046/0.001046, allocations: 106.5 kB / 16.03 MB, free: 6.32 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.00101/0.00101, allocations: 200.1 kB / 16.95 MB, free: 6.145 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.245/1.245, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04066/0.04066, allocations: 8.101 MB / 298.9 MB, free: 6.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 63.91 kB / 361.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1768, allocations: 51.51 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001998/0.1788, allocations: 1.305 MB / 414.1 MB, free: 24.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1802, allocations: 1.473 MB / 415.6 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.1802, allocations: 4 kB / 415.6 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1805, allocations: 99.61 kB / 415.7 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1808, allocations: 91.56 kB / 415.8 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1821, allocations: 0.9495 MB / 416.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1823, allocations: 159.2 kB / 416.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1824, allocations: 53.53 kB / 417 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.1825, allocations: 63.78 kB / 417 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1826, allocations: 91.61 kB / 417.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1826, allocations: 12 kB / 417.1 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.1829, allocations: 223.8 kB / 417.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.1829, allocations: 39.8 kB / 417.4 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.183, allocations: 71.66 kB / 417.5 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1833, allocations: 337.3 kB / 417.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1833, allocations: 4 kB / 417.8 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1834, allocations: 0 / 417.8 MB, free: 20.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1834, allocations: 0 / 417.8 MB, free: 20.79 MB / 302.1 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.001974/0.1853, allocations: 0.7219 MB / 418.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1854, allocations: 11.89 kB / 418.5 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.1855, allocations: 46.73 kB / 418.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1855, allocations: 16.75 kB / 418.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1857, allocations: 228.1 kB / 418.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1857, allocations: 16.59 kB / 418.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1858, allocations: 12.38 kB / 418.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.186, allocations: 198 kB / 419 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.186, allocations: 3.938 kB / 419 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1861, allocations: 8 kB / 419 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1861, allocations: 0 / 419 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.1863, allocations: 156.6 kB / 419.2 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.1872, allocations: 0.73 MB / 419.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1876, allocations: 210.4 kB / 420.1 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1877, allocations: 95.78 kB / 420.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.1878, allocations: 7.984 kB / 420.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.1878, allocations: 34.56 kB / 420.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.1878, allocations: 0 / 420.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001812/0.1896, allocations: 0.5775 MB / 420.8 MB, free: 17.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1897, allocations: 92.98 kB / 420.9 MB, free: 17.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1898, allocations: 180.2 kB / 421.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1898, allocations: 33.64 kB / 421.1 MB, free: 17.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.1899, allocations: 112.4 kB / 421.2 MB, free: 17.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1899, allocations: 55.2 kB / 421.3 MB, free: 17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.19, allocations: 49.69 kB / 421.4 MB, free: 16.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.19, allocations: 326.8 kB / 421.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1902, allocations: 112 kB / 421.8 MB, free: 16.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1903, allocations: 122.3 kB / 421.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1906, allocations: 238 kB / 422.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1906, allocations: 0 / 422.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009528/0.1915, allocations: 418 kB / 422.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1916, allocations: 7.984 kB / 422.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1916, allocations: 4 kB / 422.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/0.1925, allocations: 200.6 kB / 422.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1927, allocations: 43.89 kB / 422.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.1947, allocations: 1.972 MB / 424.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1949, allocations: 27.78 kB / 424.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.195, allocations: 11.98 kB / 424.8 MB, free: 13.32 MB / 302.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 (22): * Single equations (assignments): 21 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.195, allocations: 125.8 kB / 424.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1951, allocations: 19.75 kB / 424.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.1961, allocations: 388.2 kB / 425.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1961, allocations: 4 kB / 425.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1961, allocations: 3.938 kB / 425.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1961, allocations: 3.984 kB / 425.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1963, allocations: 297.4 kB / 425.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1963, allocations: 0 / 425.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1964, allocations: 27.98 kB / 425.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008916/0.1973, allocations: 200.6 kB / 425.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1973, allocations: 4 kB / 425.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.1991, allocations: 1.957 MB / 427.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1991, allocations: 0 / 427.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.2, allocations: 450.3 kB / 428.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.2, allocations: 92.86 kB / 428.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.2001, allocations: 8 kB / 428.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2002, allocations: 15.92 kB / 428.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.2003, allocations: 15.92 kB / 428.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2003, allocations: 8 kB / 428.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.2004, allocations: 144.1 kB / 428.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2004, allocations: 4 kB / 428.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.2007, allocations: 63.84 kB / 428.6 MB, free: 9.285 MB / 302.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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.2017, allocations: 0.9863 MB / 429.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.2025, allocations: 426.4 kB / 430 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2025, allocations: 4 kB / 430 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.203, allocations: 280.7 kB / 430.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2033, allocations: 23.94 kB / 430.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.2063, allocations: 2.549 MB / 432.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.763e-05/0.2064, allocations: 0.7241 MB / 433.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.2065, allocations: 25.48 kB / 433.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.2065, allocations: 47.42 kB / 433.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2065, allocations: 0 / 433.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/0.5393, allocations: 6.019 MB / 439.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.5396, allocations: 226.7 kB / 439.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.323, allocations: 0 / 439.9 MB, free: 13.93 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)