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.00102/0.001024, allocations: 107.2 kB / 16.45 MB, free: 6.445 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.001152/0.001152, allocations: 188.3 kB / 17.38 MB, free: 5.668 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.257/1.257, 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.04326/0.04326, allocations: 8.1 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.89 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08179, allocations: 51.52 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.00193/0.08376, allocations: 1.068 MB / 466.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.08525, allocations: 1.446 MB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.08531, allocations: 4 kB / 468 MB, free: 132 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.0856, allocations: 103.5 kB / 468.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.08583, allocations: 79.53 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.08717, allocations: 0.879 MB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.08736, allocations: 111.4 kB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.08746, allocations: 33.09 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.769e-05/0.08752, allocations: 47.84 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.08759, allocations: 51.77 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.08761, allocations: 12 kB / 469.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.08793, allocations: 215.8 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.08796, allocations: 23.92 kB / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.08801, allocations: 47.73 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.08835, allocations: 283.3 kB / 469.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.08837, allocations: 3.984 kB / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08837, allocations: 0 / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.08838, allocations: 0 / 469.9 MB, free: 14.25 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.001771/0.09016, allocations: 0.6468 MB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.0902, allocations: 15.89 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.09024, allocations: 38.73 kB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.09029, allocations: 12.89 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.09046, allocations: 204.2 kB / 470.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.09048, allocations: 16.25 kB / 470.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.0905, allocations: 8.375 kB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.09075, allocations: 162.7 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.09077, allocations: 3.938 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.09079, allocations: 4 kB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.0908, allocations: 7.938 kB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.09098, allocations: 123.9 kB / 471.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.09165, allocations: 496.4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.09227, allocations: 178.6 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.09235, allocations: 52.84 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.09276, allocations: 454.5 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.09279, allocations: 42.44 kB / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.0928, allocations: 0 / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006979/0.0935, allocations: 291.5 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.09355, allocations: 77.11 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.09368, allocations: 165.3 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.0937, allocations: 29.7 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.09377, allocations: 119.9 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.0938, allocations: 35.69 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.09388, allocations: 45.69 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.09397, allocations: 322.8 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.09407, allocations: 63.97 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.0942, allocations: 110 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.09442, allocations: 175.3 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09443, allocations: 0 / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004739/0.09491, allocations: 265.2 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.09493, allocations: 8 kB / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.09494, allocations: 336 / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.09532, allocations: 72.89 kB / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.09546, allocations: 35.92 kB / 474.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.09662, allocations: 1.48 MB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.09677, allocations: 19.92 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.09679, allocations: 8.375 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 9.542e-05/0.09689, 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.09693, allocations: 19.89 kB / 475.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.09734, allocations: 175.2 kB / 475.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.09736, allocations: 3.938 kB / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.09736, allocations: 0 / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.09737, allocations: 11.91 kB / 475.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.09758, allocations: 241.5 kB / 476.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.09759, allocations: 4 kB / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.09766, allocations: 15.94 kB / 476.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/0.09798, allocations: 64.8 kB / 476.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.098, allocations: 4 kB / 476.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.09907, allocations: 1.473 MB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09908, allocations: 0 / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.09947, allocations: 272.2 kB / 478 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.09953, allocations: 97.09 kB / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.09955, allocations: 0 / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.09967, allocations: 8 kB / 478.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.0997, allocations: 11.92 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.09971, allocations: 4 kB / 478.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.19e-05/0.0998, allocations: 119.2 kB / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0998, allocations: 0 / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1001, allocations: 40 kB / 478.3 MB, free: 5.117 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.0006768/0.1008, allocations: 0.8227 MB / 479.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.1013, allocations: 274.5 kB / 479.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1013, allocations: 0 / 479.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.1016, 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.0002213/0.1019, allocations: 4.312 kB / 479.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.104, allocations: 1.96 MB / 481.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1042, allocations: 0.7045 MB / 482.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1043, allocations: 16.86 kB / 482.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.1043, allocations: 27.44 kB / 482.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1043, allocations: 0 / 482.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.1253, allocations: 3.554 MB / 485.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.584, allocations: 3.625 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)