Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",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.001728/0.001728, allocations: 103.1 kB / 16.45 MB, free: 6.43 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.00188/0.00188, allocations: 186.4 kB / 17.38 MB, free: 5.664 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05342/0.05342, allocations: 8.109 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 71.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08734, allocations: 51.52 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002439/0.08982, allocations: 1.318 MB / 466.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.09169, allocations: 1.388 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.09176, allocations: 4 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.09207, allocations: 107.5 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.09232, allocations: 91.47 kB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.09384, allocations: 0.8671 MB / 469.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.09407, allocations: 143.3 kB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.09423, allocations: 69.92 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.09431, allocations: 59.8 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.09442, allocations: 67.69 kB / 469.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.09445, allocations: 12 kB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.0948, allocations: 215.8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.09484, allocations: 27.91 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.09492, allocations: 71.67 kB / 469.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.09536, allocations: 319.1 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.09537, allocations: 0 / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09538, allocations: 7.938 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09539, allocations: 0 / 470.2 MB, free: 13.92 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001796/0.09719, allocations: 0.6623 MB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.09724, allocations: 15.83 kB / 470.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.09729, allocations: 46.73 kB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.09734, allocations: 16.84 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.09758, allocations: 218.5 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.0976, allocations: 8.375 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.09763, allocations: 16.38 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.09795, allocations: 175.9 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.09797, allocations: 3.938 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.09799, allocations: 4 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.098, allocations: 4 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.09821, allocations: 119.9 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.09909, allocations: 0.5354 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.09992, allocations: 162.5 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.1, allocations: 44.8 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.1001, allocations: 85.09 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1002, allocations: 30.56 kB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1002, allocations: 0 / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00121/0.1014, allocations: 347.6 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.1015, allocations: 77.11 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1016, allocations: 149.5 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1017, allocations: 25.7 kB / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.1018, allocations: 132.2 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1018, allocations: 35.72 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.1019, allocations: 33.72 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.102, allocations: 322.8 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.1021, allocations: 47.98 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1023, allocations: 86.47 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1025, allocations: 125.7 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1025, allocations: 384 / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005807/0.1031, allocations: 218.4 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1031, allocations: 11.12 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1031, allocations: 64 / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.1036, allocations: 92.7 kB / 474 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1038, allocations: 27.92 kB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.1056, allocations: 1.543 MB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.1057, allocations: 15.92 kB / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1057, allocations: 7.938 kB / 475.6 MB, free: 8.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0001244/0.1059, allocations: 133.8 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1059, allocations: 19.94 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.1065, allocations: 203 kB / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1065, allocations: 4 kB / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1065, allocations: 0 / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1065, allocations: 0 / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1068, allocations: 233.5 kB / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1068, allocations: 0 / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.1069, allocations: 15.98 kB / 476.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.1074, allocations: 88.77 kB / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1074, allocations: 4 kB / 476.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.109, allocations: 1.543 MB / 477.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1091, allocations: 0 / 477.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.1096, allocations: 276.3 kB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.1097, allocations: 100.9 kB / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1097, allocations: 0 / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1099, allocations: 4 kB / 478.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1099, allocations: 11.98 kB / 478.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1099, allocations: 4 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.11, allocations: 103.3 kB / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.11, allocations: 0 / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000306/0.1103, allocations: 47.89 kB / 478.4 MB, free: 5.066 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.0009352/0.1113, allocations: 0.8341 MB / 479.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007633/0.112, allocations: 262.6 kB / 479.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.112, allocations: 4.062 kB / 479.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.1126, allocations: 194.6 kB / 479.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1128, allocations: 11.66 kB / 479.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.1154, allocations: 1.872 MB / 481.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1158, allocations: 0.7119 MB / 482.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.1158, allocations: 24.58 kB / 482.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.1159, allocations: 43.42 kB / 482.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1159, allocations: 0 / 482.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.1436, allocations: 3.613 MB / 485.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.651/9.794, allocations: 6.375 kB / 485.9 MB, free: 13.4 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneTransfo_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_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1)