Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",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.001321/0.001321, allocations: 103.7 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.001285/0.001285, allocations: 188.9 kB / 17.39 MB, free: 5.688 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.355/1.355, 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.05022/0.05022, allocations: 8.1 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 414 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.0914, allocations: 51.52 MB / 465.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002518/0.09395, allocations: 1.314 MB / 466.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.09578, allocations: 1.399 MB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.09586, allocations: 4 kB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.09619, allocations: 99.48 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.09645, allocations: 91.45 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.09797, allocations: 0.8711 MB / 469.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.0982, allocations: 143.3 kB / 469.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.09836, allocations: 65.95 kB / 469.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.09843, allocations: 55.78 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.09855, allocations: 75.69 kB / 469.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.09857, allocations: 12 kB / 469.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.09894, allocations: 211.8 kB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.09898, allocations: 23.92 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.09907, allocations: 79.59 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.09951, allocations: 319.2 kB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.09952, allocations: 0 / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09952, allocations: 0 / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09953, allocations: 0 / 470.2 MB, free: 13.95 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.001845/0.1014, allocations: 0.6623 MB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1014, allocations: 15.83 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.1015, allocations: 50.73 kB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1015, allocations: 16.84 kB / 471 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1018, allocations: 216.1 kB / 471.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1018, allocations: 8.375 kB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.1018, allocations: 16.38 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.1021, allocations: 179.9 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1022, allocations: 3.938 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1022, allocations: 0 / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1022, allocations: 4 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1024, allocations: 123.9 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.1033, allocations: 0.5315 MB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008348/0.1042, allocations: 166.5 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.1043, allocations: 48.78 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.1044, allocations: 81.11 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1044, allocations: 34.56 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1044, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001232/0.1057, allocations: 347.6 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1057, allocations: 81.11 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1059, allocations: 148.4 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1059, allocations: 29.7 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.106, allocations: 132.2 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.106, allocations: 31.73 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.1061, allocations: 33.7 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1063, allocations: 318.8 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.1064, allocations: 52.36 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1065, allocations: 78.48 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1067, allocations: 125.7 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1068, allocations: 0 / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005733/0.1073, allocations: 218.4 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1074, allocations: 8 kB / 473.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1074, allocations: 7.984 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.1079, allocations: 80.78 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.108, allocations: 27.92 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.1098, allocations: 1.547 MB / 475.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.11, allocations: 11.92 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.11, allocations: 11.88 kB / 475.6 MB, free: 8.109 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.000124/0.1101, allocations: 133.9 kB / 475.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1102, allocations: 15.84 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.1108, allocations: 199.1 kB / 475.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1108, allocations: 4 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1108, allocations: 0 / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1108, allocations: 3.984 kB / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1111, allocations: 237.5 kB / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1111, allocations: 8 kB / 476.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-05/0.1112, allocations: 15.98 kB / 476.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.1116, allocations: 84.77 kB / 476.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1116, allocations: 4 kB / 476.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.1133, allocations: 1.535 MB / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1133, allocations: 0 / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.1139, allocations: 284.3 kB / 478.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.114, allocations: 92.94 kB / 478.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.114, allocations: 0 / 478.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1141, allocations: 8 kB / 478.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1141, allocations: 7.984 kB / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1142, allocations: 4 kB / 478.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.1142, allocations: 103.3 kB / 478.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1142, allocations: 4 kB / 478.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1146, allocations: 51.88 kB / 478.4 MB, free: 5.094 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.0009435/0.1155, allocations: 0.8263 MB / 479.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.1163, allocations: 266.6 kB / 479.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1163, allocations: 0 / 479.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.1168, allocations: 194.6 kB / 479.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1171, allocations: 11.52 kB / 479.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.1197, allocations: 1.875 MB / 481.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.12, allocations: 0.7157 MB / 482.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1201, allocations: 20.64 kB / 482.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.1202, allocations: 39.42 kB / 482.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1202, allocations: 0 / 482.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1479, allocations: 3.614 MB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.561/9.709, allocations: 12.81 kB / 485.9 MB, free: 13.43 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneperfectTransfo_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_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)