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.001236/0.001236, allocations: 104.7 kB / 16.45 MB, free: 6.402 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.001191/0.001191, allocations: 182.4 kB / 17.38 MB, free: 5.676 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05024/0.05024, allocations: 8.098 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 67.89 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.1017, allocations: 51.5 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002427/0.1042, allocations: 1.076 MB / 466.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1062, allocations: 1.45 MB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.1063, allocations: 4 kB / 468 MB, free: 132 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1067, allocations: 107.5 kB / 468.1 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.107, allocations: 75.66 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1087, allocations: 0.8787 MB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1089, allocations: 115.4 kB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1091, allocations: 33.08 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.1091, allocations: 47.84 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.1092, allocations: 51.78 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1093, allocations: 8 kB / 469.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1097, allocations: 215.8 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.1097, allocations: 23.91 kB / 469.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.1098, allocations: 55.73 kB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.1103, allocations: 275.3 kB / 469.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1103, allocations: 0 / 469.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1103, allocations: 0 / 469.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1103, allocations: 0 / 469.9 MB, free: 14.26 MB / 350.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.002026/0.1124, allocations: 0.6546 MB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1124, allocations: 11.89 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.1125, allocations: 42.75 kB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.1125, allocations: 16.83 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1128, allocations: 208.2 kB / 470.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1128, allocations: 12.31 kB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1128, allocations: 12.38 kB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1131, allocations: 158.7 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1132, allocations: 3.938 kB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1132, allocations: 7.938 kB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1132, allocations: 0 / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.1134, allocations: 123.9 kB / 471.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.1142, allocations: 492.4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.1149, allocations: 178.6 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.115, allocations: 44.84 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.1155, allocations: 458.5 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1155, allocations: 38.44 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1155, allocations: 8 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007907/0.1163, allocations: 287.5 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1164, allocations: 81.11 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1166, allocations: 164.9 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1166, allocations: 25.7 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.1167, allocations: 111.9 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1167, allocations: 43.69 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.1168, allocations: 41.7 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.117, allocations: 326.8 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1171, allocations: 59.97 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1172, allocations: 106 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1175, allocations: 177 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1175, allocations: 0 / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005566/0.118, allocations: 273.4 kB / 474 MB, free: 9.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1181, allocations: 4.328 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1181, allocations: 0 / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004074/0.1185, allocations: 72.78 kB / 474 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1186, allocations: 47.84 kB / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1202, allocations: 1.477 MB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.1203, allocations: 19.88 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1203, allocations: 8 kB / 475.6 MB, free: 8.039 MB / 350.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 0.0001236/0.1205, allocations: 133.8 kB / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.1205, allocations: 15.84 kB / 475.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.121, allocations: 183.2 kB / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.121, allocations: 4 kB / 475.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.121, allocations: 0 / 475.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.121, allocations: 3.938 kB / 475.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1213, allocations: 237.5 kB / 476.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1213, allocations: 4 kB / 476.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.1214, allocations: 19.94 kB / 476.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/0.1217, allocations: 64.8 kB / 476.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1217, allocations: 0 / 476.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.1231, allocations: 1.48 MB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1232, allocations: 3.984 kB / 477.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.1236, allocations: 264.2 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.1237, allocations: 97 kB / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1237, allocations: 8.062 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1238, allocations: 7.984 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.1239, allocations: 7.938 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1239, allocations: 7.984 kB / 478.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.124, allocations: 116.9 kB / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.124, allocations: 0 / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1243, allocations: 43.98 kB / 478.3 MB, free: 5.113 MB / 350.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.0008371/0.1251, allocations: 0.8224 MB / 479.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005786/0.1257, allocations: 270.5 kB / 479.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1257, allocations: 0 / 479.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.1261, allocations: 182.6 kB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1263, allocations: 8.547 kB / 479.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.1288, allocations: 1.953 MB / 481.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1292, allocations: 0.7084 MB / 482.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.1292, allocations: 12.88 kB / 482.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.1293, allocations: 31.42 kB / 482.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1293, allocations: 0 / 482.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.1582, allocations: 3.553 MB / 485.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.403/9.561, allocations: 6.719 kB / 485.8 MB, free: 13.46 MB / 366.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)