Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.0009489/0.000949, allocations: 106.1 kB / 16.03 MB, free: 6.332 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: 199.1 kB / 16.95 MB, free: 6.152 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.274/1.274, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04169/0.04169, allocations: 8.097 MB / 298.9 MB, free: 6.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.91 kB / 361.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1874, allocations: 51.51 MB / 412.8 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002239/0.1897, allocations: 2.34 MB / 415.2 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.191, allocations: 1.656 MB / 416.8 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.1911, allocations: 8 kB / 416.8 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1914, allocations: 131.4 kB / 417 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1917, allocations: 187 kB / 417.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.1931, allocations: 1.151 MB / 418.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1934, allocations: 402.1 kB / 418.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1935, allocations: 133.4 kB / 418.8 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.1936, allocations: 163.4 kB / 419 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1938, allocations: 211.1 kB / 419.2 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1938, allocations: 32 kB / 419.2 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.1941, allocations: 271.7 kB / 419.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.1942, allocations: 79.67 kB / 419.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.966e-05/0.1943, allocations: 199 kB / 419.8 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.1947, allocations: 0.5725 MB / 420.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1947, allocations: 0 / 420.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1947, allocations: 4 kB / 420.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1947, allocations: 0 / 420.3 MB, free: 18.27 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004303/0.199, allocations: 1.361 MB / 421.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.199, allocations: 19.83 kB / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.1991, allocations: 62.72 kB / 421.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.1992, allocations: 44.47 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1994, allocations: 323.5 kB / 422.1 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1995, allocations: 28.94 kB / 422.2 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1995, allocations: 32.38 kB / 422.2 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.2, allocations: 476.9 kB / 422.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2001, allocations: 3.938 kB / 422.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.2001, allocations: 16 kB / 422.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2001, allocations: 15.94 kB / 422.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.2006, allocations: 414.1 kB / 423.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.2023, allocations: 2.021 MB / 425.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.203, allocations: 0.5141 MB / 425.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.2033, allocations: 280.8 kB / 425.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.254e-05/0.2033, allocations: 19.97 kB / 425.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.2034, allocations: 38.56 kB / 426 MB, free: 12.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.2034, allocations: 3.984 kB / 426 MB, free: 12.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.005893/0.2093, allocations: 1.919 MB / 427.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2093, allocations: 110.8 kB / 428 MB, free: 10.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2095, allocations: 271 kB / 428.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2096, allocations: 37.7 kB / 428.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.2096, allocations: 164.9 kB / 428.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.2097, allocations: 141.8 kB / 428.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2099, allocations: 106.2 kB / 428.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.2099, allocations: 346.8 kB / 429 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.2103, allocations: 297 kB / 429.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.2106, allocations: 348.6 kB / 429.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.2113, allocations: 0.649 MB / 430.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2114, allocations: 0 / 430.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002852/0.2142, allocations: 1.26 MB / 431.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2142, allocations: 11.94 kB / 431.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2142, allocations: 0 / 431.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.2175, allocations: 0.7799 MB / 432.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2178, allocations: 91.83 kB / 432.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.2235, allocations: 4.17 MB / 436.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.2239, allocations: 59.45 kB / 436.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.2239, allocations: 19.98 kB / 436.7 MB, free: 1.285 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 (51): * Single equations (assignments): 50 * 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.0001552/0.2241, allocations: 165.7 kB / 436.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.2242, allocations: 31.62 kB / 436.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.2272, allocations: 1.206 MB / 438.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2272, allocations: 4 kB / 438.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.2272, allocations: 7.938 kB / 438.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2272, allocations: 3.984 kB / 438.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.2277, allocations: 0.5676 MB / 438.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2277, allocations: 0 / 438.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.2279, allocations: 63.91 kB / 438.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.2312, allocations: 0.7567 MB / 439.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.2313, allocations: 12 kB / 439.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/0.2377, allocations: 4.121 MB / 443.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2377, allocations: 4 kB / 443.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.2408, allocations: 1.222 MB / 444.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.2409, allocations: 120.5 kB / 445 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.2409, allocations: 8 kB / 445 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.2413, allocations: 27.36 kB / 445 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2414, allocations: 48.3 kB / 445.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.2414, allocations: 12 kB / 445.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2416, allocations: 190 kB / 445.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2416, allocations: 4 kB / 445.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.2422, allocations: 179.8 kB / 445.4 MB, free: 8.297 MB / 318.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 (36): * Single equations (assignments): 35 * 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.003375/0.2456, allocations: 1.787 MB / 447.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.248, allocations: 1.074 MB / 448.3 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.248, allocations: 4 kB / 448.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.2496, allocations: 0.6727 MB / 449 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.25, allocations: 40.27 kB / 449 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009119/0.2591, allocations: 5.354 MB / 454.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2594, allocations: 0.8011 MB / 455.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.2596, allocations: 54.91 kB / 455.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.2597, allocations: 119.4 kB / 455.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2597, allocations: 0 / 455.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4908/0.7505, allocations: 14.97 MB / 470.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.7507, allocations: 235 kB / 470.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.758, allocations: 4 kB / 470.5 MB, free: 15.21 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)