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.001499/0.001504, allocations: 99.86 kB / 16.31 MB, free: 6.391 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.001557/0.001557, allocations: 190.2 kB / 17.24 MB, free: 5.922 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04775/0.04775, allocations: 8.093 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.89 kB / 361.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2141, allocations: 51.51 MB / 413.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002177/0.2163, allocations: 0.8492 MB / 414.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2178, allocations: 1.304 MB / 415.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2179, allocations: 4 kB / 415.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.2183, allocations: 55.7 kB / 415.6 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.2186, allocations: 35.78 kB / 415.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.2194, allocations: 354.5 kB / 415.9 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2196, allocations: 71.59 kB / 416 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2198, allocations: 27.98 kB / 416 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.2198, allocations: 31.86 kB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.22, allocations: 43.83 kB / 416.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.22, allocations: 8 kB / 416.1 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.2203, allocations: 99.83 kB / 416.2 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.2204, allocations: 11.94 kB / 416.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.2204, allocations: 43.78 kB / 416.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.2208, allocations: 153.8 kB / 416.4 MB, free: 22.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2208, allocations: 0 / 416.4 MB, free: 22.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2208, allocations: 0 / 416.4 MB, free: 22.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2208, allocations: 0 / 416.4 MB, free: 22.47 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.001099/0.2219, allocations: 435.2 kB / 416.9 MB, free: 21.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.222, allocations: 11.89 kB / 416.9 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.2221, allocations: 46.69 kB / 416.9 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.2221, allocations: 12.84 kB / 416.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2223, allocations: 188.1 kB / 417.1 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2224, allocations: 4.375 kB / 417.1 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2224, allocations: 8.375 kB / 417.1 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2225, allocations: 94.22 kB / 417.2 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2226, allocations: 3.938 kB / 417.2 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2226, allocations: 3.984 kB / 417.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2226, allocations: 4 kB / 417.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.2227, allocations: 71.91 kB / 417.3 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.2232, allocations: 380.7 kB / 417.7 MB, free: 21.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2235, allocations: 114.6 kB / 417.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.2235, allocations: 32.84 kB / 417.8 MB, free: 20.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.2236, allocations: 8 kB / 417.8 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2236, allocations: 34.56 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2236, allocations: 0 / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005262/0.2242, allocations: 231.7 kB / 418.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.2242, allocations: 63.28 kB / 418.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2243, allocations: 141.7 kB / 418.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2243, allocations: 25.7 kB / 418.3 MB, free: 20.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2244, allocations: 111.9 kB / 418.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.2244, allocations: 23.64 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2245, allocations: 21.72 kB / 418.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.2245, allocations: 322.8 kB / 418.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.2246, allocations: 31.98 kB / 418.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.2246, allocations: 35.92 kB / 418.8 MB, free: 19.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.2247, allocations: 68.86 kB / 418.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2247, allocations: 0 / 418.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002661/0.225, allocations: 146.3 kB / 419 MB, free: 19.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.225, allocations: 11.94 kB / 419.1 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2251, allocations: 3.938 kB / 419.1 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.2253, allocations: 36.83 kB / 419.1 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.2254, allocations: 8 kB / 419.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.2265, allocations: 1.441 MB / 420.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.2266, allocations: 0 / 420.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2266, allocations: 11.98 kB / 420.6 MB, free: 17.93 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 7.638e-05/0.2267, allocations: 121.7 kB / 420.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.2267, allocations: 7.906 kB / 420.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.227, allocations: 142.8 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.227, allocations: 0 / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.227, allocations: 3.938 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.227, allocations: 3.984 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.2271, allocations: 205.5 kB / 421 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2271, allocations: 0 / 421 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.2272, allocations: 8 kB / 421 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.2273, allocations: 32.83 kB / 421.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.2273, allocations: 8 kB / 421.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007192/0.2281, allocations: 1.426 MB / 422.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2281, allocations: 4.031 kB / 422.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.2283, allocations: 208.2 kB / 422.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.2283, allocations: 89.39 kB / 422.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.2284, allocations: 4 kB / 422.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2285, allocations: 11.92 kB / 422.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.2285, allocations: 4 kB / 422.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2285, allocations: 4 kB / 422.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.2286, allocations: 111.2 kB / 422.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2286, allocations: 0 / 422.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.2289, allocations: 24 kB / 423 MB, free: 15.27 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.0004626/0.2294, allocations: 0.7604 MB / 423.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.2297, allocations: 206.7 kB / 423.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2297, allocations: 0 / 423.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2299, allocations: 154.7 kB / 424.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.2302, allocations: 18.12 kB / 424.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.2316, allocations: 1.605 MB / 425.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2318, allocations: 0.6924 MB / 426.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.2318, allocations: 12.64 kB / 426.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.2319, allocations: 19.44 kB / 426.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2319, allocations: 4 kB / 426.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.2523, allocations: 2.806 MB / 429.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.043/9.295, allocations: 12 kB / 429.2 MB, free: 8.898 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)