Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08192/0.08192, allocations: 12.59 MB / 28.23 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 115.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4261/0.4261, allocations: 78.52 MB / 419.3 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 147.7 kB / 0.5554 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.112, allocations: 68.13 MB / 0.6219 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003558/0.1156, allocations: 2.979 MB / 0.6248 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1172, allocations: 0.9908 MB / 0.6258 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1173, allocations: 4 kB / 0.6258 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1176, allocations: 99.25 kB / 0.6259 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.118, allocations: 166.9 kB / 0.626 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.1189, allocations: 470.3 kB / 0.6265 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.1194, allocations: 0.502 MB / 0.627 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1196, allocations: 97.27 kB / 0.6271 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.1198, allocations: 211.1 kB / 0.6273 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1202, allocations: 278.8 kB / 0.6275 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.1203, allocations: 40 kB / 0.6276 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1205, allocations: 107.9 kB / 0.6277 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.1206, allocations: 107.5 kB / 0.6278 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1207, allocations: 222.8 kB / 0.628 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.1213, allocations: 0.5719 MB / 0.6285 GB, free: 9.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1213, allocations: 0 / 0.6285 GB, free: 9.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1213, allocations: 0 / 0.6285 GB, free: 9.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1213, allocations: 0 / 0.6285 GB, free: 9.121 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003189/0.1245, allocations: 1.13 MB / 0.6296 GB, free: 7.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1246, allocations: 15.98 kB / 0.6297 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.407e-05/0.1247, allocations: 62.73 kB / 0.6297 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.1263, allocations: 272.4 kB / 0.63 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.1268, allocations: 410.4 kB / 0.6304 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.1269, allocations: 83.89 kB / 0.6305 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.127, allocations: 28 kB / 0.6305 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.1278, allocations: 404.7 kB / 0.6309 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1278, allocations: 0 / 0.6309 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1278, allocations: 11.94 kB / 0.6309 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1279, allocations: 8 kB / 0.6309 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.1286, allocations: 386 kB / 0.6313 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1305, allocations: 1.107 MB / 0.6323 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/0.1373, allocations: 1.369 MB / 0.6337 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.1379, allocations: 276.7 kB / 0.6339 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.1379, allocations: 4 kB / 0.6339 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1379, allocations: 38.5 kB / 0.634 GB, free: 3.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.138, allocations: 0 / 0.634 GB, free: 3.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.00636/0.1443, allocations: 1.963 MB / 0.6359 GB, free: 1.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1444, allocations: 59.34 kB / 0.6359 GB, free: 1.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.1448, allocations: 401.6 kB / 0.6363 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1449, allocations: 33.7 kB / 0.6364 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.145, allocations: 208.7 kB / 0.6366 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1451, allocations: 126.9 kB / 0.6367 GB, free: 492 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1453, allocations: 65.98 kB / 0.6367 GB, free: 416 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1454, allocations: 346.8 kB / 0.6371 GB, free: 60 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.1459, allocations: 232.5 kB / 0.6373 GB, free: 15.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.1464, allocations: 229.2 kB / 0.6375 GB, free: 15.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.1474, allocations: 494.9 kB / 0.638 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1474, allocations: 0 / 0.638 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004069/0.1515, allocations: 1.276 MB / 0.6392 GB, free: 13.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1515, allocations: 8 kB / 0.6392 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1515, allocations: 0 / 0.6392 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/0.1546, allocations: 0.7713 MB / 0.64 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1548, allocations: 39.97 kB / 0.64 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.1606, allocations: 3.102 MB / 0.6431 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.1611, allocations: 51.75 kB / 0.6431 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1612, allocations: 12 kB / 0.6431 GB, free: 9.699 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.1614, allocations: 149.6 kB / 0.6433 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.1615, allocations: 51.69 kB / 0.6433 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.1653, allocations: 1.21 MB / 0.6445 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1653, allocations: 4 kB / 0.6445 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1653, allocations: 7.938 kB / 0.6445 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1653, allocations: 0 / 0.6445 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.1659, allocations: 0.5321 MB / 0.645 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1659, allocations: 0 / 0.645 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.1662, allocations: 47.95 kB / 0.6451 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.1685, allocations: 0.619 MB / 0.6457 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.1686, allocations: 8 kB / 0.6457 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/0.1727, allocations: 2.561 MB / 0.6482 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1727, allocations: 3.938 kB / 0.6482 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.1771, allocations: 1.578 MB / 0.6497 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1772, allocations: 132.8 kB / 0.6499 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.1773, allocations: 7.938 kB / 0.6499 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.1777, allocations: 35.97 kB / 0.6499 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.178, allocations: 91.84 kB / 0.65 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.178, allocations: 8 kB / 0.65 GB, free: 2.387 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.1783, allocations: 291.2 kB / 0.6503 GB, free: 2.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1783, allocations: 0 / 0.6503 GB, free: 2.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1788, allocations: 139.9 kB / 0.6504 GB, free: 1.965 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004635/0.1835, allocations: 2.131 MB / 0.6525 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.1863, allocations: 1.089 MB / 0.6536 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1863, allocations: 0 / 0.6536 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.188, allocations: 0.7363 MB / 0.6543 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1884, allocations: 36.77 kB / 0.6543 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.2006, allocations: 5.693 MB / 0.6599 GB, free: 8.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.201, allocations: 0.8072 MB / 0.6607 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2011, allocations: 30.97 kB / 0.6607 GB, free: 7.176 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2014, allocations: 135.4 kB / 0.6608 GB, free: 7.043 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2014, allocations: 0 / 0.6608 GB, free: 7.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.2354, allocations: 12.19 MB / 0.6727 GB, free: 10.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.93, allocations: 7.938 kB / 0.6727 GB, free: 10.96 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)