Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.001674/0.001674, allocations: 105.2 kB / 16.31 MB, free: 6.359 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.001814/0.001815, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04662/0.04662, allocations: 8.093 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2054, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002184/0.2076, allocations: 1.064 MB / 414.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2092, allocations: 1.462 MB / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.2093, allocations: 0 / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.2096, allocations: 99.48 kB / 416 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.2099, allocations: 87.53 kB / 416.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2111, allocations: 0.8595 MB / 416.9 MB, free: 22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2113, allocations: 111.5 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2114, allocations: 40.95 kB / 417.1 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.2114, allocations: 39.81 kB / 417.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.2115, allocations: 59.75 kB / 417.2 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2115, allocations: 8 kB / 417.2 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.2119, allocations: 203.8 kB / 417.4 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.2119, allocations: 27.84 kB / 417.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.212, allocations: 55.73 kB / 417.4 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.2123, allocations: 273.6 kB / 417.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2123, allocations: 0 / 417.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2123, allocations: 0 / 417.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2123, allocations: 4 kB / 417.7 MB, free: 21.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001746/0.2141, allocations: 0.6434 MB / 418.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2141, allocations: 15.89 kB / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.2141, allocations: 46.62 kB / 418.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.2142, allocations: 12.75 kB / 418.4 MB, free: 20.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2144, allocations: 208.2 kB / 418.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2144, allocations: 8.375 kB / 418.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2144, allocations: 20.3 kB / 418.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2146, allocations: 162.9 kB / 418.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2147, allocations: 3.938 kB / 418.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2147, allocations: 4 kB / 418.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2147, allocations: 4 kB / 418.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2149, allocations: 116 kB / 419 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.2155, allocations: 496.4 kB / 419.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.2161, allocations: 178.5 kB / 419.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.2162, allocations: 48.84 kB / 419.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.2166, allocations: 462.2 kB / 420.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.2166, allocations: 38.5 kB / 420.1 MB, free: 18.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2166, allocations: 0 / 420.1 MB, free: 18.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006924/0.2173, allocations: 291.4 kB / 420.4 MB, free: 18.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.2173, allocations: 81.11 kB / 420.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.2175, allocations: 163.6 kB / 420.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2175, allocations: 29.7 kB / 420.7 MB, free: 17.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.2175, allocations: 111.8 kB / 420.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2175, allocations: 35.45 kB / 420.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.2176, allocations: 45.7 kB / 420.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.2176, allocations: 327.1 kB / 421.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.2177, allocations: 59.97 kB / 421.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.602e-05/0.2178, allocations: 112.2 kB / 421.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.218, allocations: 179.2 kB / 421.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.218, allocations: 3.938 kB / 421.6 MB, free: 17.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004638/0.2185, allocations: 250.2 kB / 421.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2185, allocations: 11.98 kB / 421.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2185, allocations: 160 / 421.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.2189, allocations: 72.75 kB / 421.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2191, allocations: 35.91 kB / 421.9 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009505/0.22, allocations: 1.484 MB / 423.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.2202, allocations: 23.73 kB / 423.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2202, allocations: 8 kB / 423.4 MB, free: 14.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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.097e-05/0.2203, allocations: 130.2 kB / 423.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.2203, allocations: 7.906 kB / 423.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.2207, allocations: 187.2 kB / 423.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.2208, allocations: 0 / 423.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2208, allocations: 3.938 kB / 423.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2208, allocations: 11.92 kB / 423.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2209, allocations: 241.3 kB / 424 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.221, allocations: 0 / 424 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.221, allocations: 12 kB / 424 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.2213, allocations: 68.8 kB / 424.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2214, allocations: 7.938 kB / 424.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008772/0.2222, allocations: 1.465 MB / 425.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2223, allocations: 4.125 kB / 425.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.2226, allocations: 272.2 kB / 425.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.2227, allocations: 85.02 kB / 425.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2227, allocations: 0 / 425.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2228, allocations: 15.98 kB / 425.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.2229, allocations: 8 kB / 425.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2229, allocations: 4 kB / 425.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.045e-05/0.2229, allocations: 122.9 kB / 426.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2229, allocations: 0 / 426.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.2233, allocations: 40 kB / 426.1 MB, free: 12.07 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 (10): * Single equations (assignments): 9 * 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.0005589/0.2238, allocations: 0.8223 MB / 426.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.2243, allocations: 284.9 kB / 427.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2244, allocations: 3.938 kB / 427.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.2246, allocations: 182.6 kB / 427.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2249, allocations: 8 kB / 427.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2268, allocations: 1.931 MB / 429.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2269, allocations: 0.7006 MB / 430 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.227, allocations: 16.86 kB / 430 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.227, allocations: 27.42 kB / 430.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.227, allocations: 0 / 430.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.249, allocations: 3.49 MB / 433.5 MB, free: 4.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/9.406, allocations: 11.67 kB / 433.6 MB, free: 4.48 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo_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_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)