Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.0009635/0.0009635, allocations: 106.8 kB / 16.31 MB, free: 5.879 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.0009491/0.0009492, allocations: 190.5 kB / 17.24 MB, free: 5.539 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.217/1.217, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04577/0.04577, allocations: 8.09 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 63.91 kB / 361.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2057, allocations: 51.52 MB / 413.3 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002052/0.2078, allocations: 0.8524 MB / 414.2 MB, free: 24.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2091, allocations: 1.304 MB / 415.5 MB, free: 23.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.2091, allocations: 4 kB / 415.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.2093, allocations: 55.7 kB / 415.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.2095, allocations: 43.75 kB / 415.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.2101, allocations: 350.5 kB / 415.9 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.437e-05/0.2102, allocations: 67.67 kB / 416 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.2103, allocations: 35.95 kB / 416 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.2103, allocations: 23.88 kB / 416.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.2104, allocations: 43.83 kB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2104, allocations: 4 kB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2106, allocations: 99.89 kB / 416.2 MB, free: 22.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2106, allocations: 23.91 kB / 416.2 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2107, allocations: 35.81 kB / 416.3 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2109, allocations: 153.8 kB / 416.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2109, allocations: 0 / 416.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2109, allocations: 0 / 416.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2109, allocations: 0 / 416.4 MB, free: 22.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000806/0.2117, allocations: 443.1 kB / 416.9 MB, free: 22.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2118, allocations: 11.89 kB / 416.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.2118, allocations: 42.69 kB / 416.9 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.2119, allocations: 12.84 kB / 416.9 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.212, allocations: 184.2 kB / 417.1 MB, free: 21.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.212, allocations: 4.375 kB / 417.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.212, allocations: 8.375 kB / 417.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2122, allocations: 94.22 kB / 417.2 MB, free: 21.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2122, allocations: 3.938 kB / 417.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2122, allocations: 3.938 kB / 417.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2123, allocations: 4 kB / 417.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2124, allocations: 67.97 kB / 417.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.2128, allocations: 380.7 kB / 417.7 MB, free: 21.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2131, allocations: 114.6 kB / 417.8 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.2132, allocations: 40.83 kB / 417.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.2132, allocations: 4 kB / 417.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.2133, allocations: 38.56 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2133, allocations: 0 / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005647/0.2138, allocations: 231.5 kB / 418.1 MB, free: 20.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.2139, allocations: 59.34 kB / 418.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.214, allocations: 142 kB / 418.3 MB, free: 20.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.214, allocations: 29.7 kB / 418.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.214, allocations: 99.89 kB / 418.4 MB, free: 20.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.2141, allocations: 23.64 kB / 418.4 MB, free: 20.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.2141, allocations: 29.7 kB / 418.5 MB, free: 20.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.606e-05/0.2141, allocations: 314.8 kB / 418.8 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.2142, allocations: 35.98 kB / 418.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.2142, allocations: 31.98 kB / 418.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.2143, allocations: 76.92 kB / 418.9 MB, free: 19.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2143, allocations: 8 kB / 418.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002369/0.2146, allocations: 142.5 kB / 419 MB, free: 19.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2146, allocations: 11.94 kB / 419.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2146, allocations: 3.984 kB / 419.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.2148, allocations: 32.83 kB / 419.1 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.2149, allocations: 12 kB / 419.1 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008006/0.2157, allocations: 1.445 MB / 420.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.2158, allocations: 4.031 kB / 420.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2158, allocations: 7.984 kB / 420.6 MB, free: 17.96 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 (9): * Single equations (assignments): 8 * 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 5.798e-05/0.2159, allocations: 121.8 kB / 420.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.2159, allocations: 7.906 kB / 420.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.2162, allocations: 130.8 kB / 420.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2162, allocations: 0 / 420.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2162, allocations: 3.938 kB / 420.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2162, allocations: 3.984 kB / 420.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2164, allocations: 201.5 kB / 421 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2164, allocations: 0 / 421 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.2164, allocations: 11.98 kB / 421 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.2166, allocations: 36.84 kB / 421.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2166, allocations: 3.984 kB / 421.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000703/0.2173, allocations: 1.43 MB / 422.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2173, allocations: 4.031 kB / 422.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2176, allocations: 216.2 kB / 422.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.2176, allocations: 89.11 kB / 422.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2176, allocations: 4 kB / 422.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2177, allocations: 7.984 kB / 422.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.2178, allocations: 4 kB / 422.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2178, allocations: 3.984 kB / 422.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.2179, allocations: 113.9 kB / 422.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2179, allocations: 0 / 422.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.2182, allocations: 24 kB / 423 MB, free: 15.31 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 (6): * 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: 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.0004148/0.2186, allocations: 0.76 MB / 423.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.2189, allocations: 202.8 kB / 423.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2189, allocations: 192 / 423.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2191, allocations: 154.6 kB / 424.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2194, allocations: 22.22 kB / 424.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2208, allocations: 1.604 MB / 425.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.2209, allocations: 0.7001 MB / 426.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.221, allocations: 8.656 kB / 426.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.221, allocations: 27.42 kB / 426.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.221, allocations: 0 / 426.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7071/0.9282, allocations: 2.789 MB / 429.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.7, allocations: 18.8 kB / 429.2 MB, free: 8.941 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)