Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005062/0.005062, allocations: 168.8 kB / 15.12 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.000913, allocations: 100.4 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4851/0.4851, allocations: 78.58 MB / 419.9 MB, free: 36.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 12 kB / 499.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 69.36 MB / 0.5559 GB, free: 1.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002984/0.1234, allocations: 2.582 MB / 0.5584 GB, free: 15.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1252, allocations: 0.9324 MB / 0.5593 GB, free: 14.22 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1254, allocations: 7.938 kB / 0.5593 GB, free: 14.21 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1257, allocations: 67.52 kB / 0.5594 GB, free: 14.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.126, allocations: 151.5 kB / 0.5595 GB, free: 14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.1268, allocations: 390.2 kB / 0.5599 GB, free: 13.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.1272, allocations: 343.2 kB / 0.5602 GB, free: 13.29 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1274, allocations: 77.34 kB / 0.5603 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1276, allocations: 195.3 kB / 0.5605 GB, free: 13.01 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1279, allocations: 255 kB / 0.5607 GB, free: 12.76 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.128, allocations: 24 kB / 0.5607 GB, free: 12.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1281, allocations: 71.95 kB / 0.5608 GB, free: 12.67 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.1282, allocations: 87.62 kB / 0.5609 GB, free: 12.58 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.1283, allocations: 93.45 kB / 0.561 GB, free: 12.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1287, allocations: 439.1 kB / 0.5614 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1287, allocations: 0 / 0.5614 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1287, allocations: 0 / 0.5614 GB, free: 12.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1287, allocations: 0 / 0.5614 GB, free: 12.05 MB / 442.7 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.003293/0.132, allocations: 1.103 MB / 0.5625 GB, free: 10.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1321, allocations: 12.03 kB / 0.5625 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.531e-05/0.1322, allocations: 62.53 kB / 0.5625 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.1338, allocations: 275.1 kB / 0.5628 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.1343, allocations: 405.2 kB / 0.5632 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.1344, allocations: 87.89 kB / 0.5633 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.1345, allocations: 35.91 kB / 0.5633 GB, free: 9.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.1353, allocations: 420.7 kB / 0.5637 GB, free: 9.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1354, allocations: 3.953 kB / 0.5637 GB, free: 9.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.1354, allocations: 16 kB / 0.5637 GB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1354, allocations: 8 kB / 0.5637 GB, free: 9.539 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.1363, allocations: 418 kB / 0.5641 GB, free: 9.129 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.1384, allocations: 1.154 MB / 0.5653 GB, free: 7.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007585/0.146, allocations: 1.833 MB / 0.5671 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1461, allocations: 4 kB / 0.5671 GB, free: 6.074 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1462, allocations: 42.5 kB / 0.5671 GB, free: 6.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.577e-06/0.1462, allocations: 0 / 0.5671 GB, free: 6.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.007268/0.1535, allocations: 2.393 MB / 0.5694 GB, free: 3.559 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1536, allocations: 55.41 kB / 0.5695 GB, free: 3.492 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.1542, allocations: 413.7 kB / 0.5699 GB, free: 3.078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.1542, allocations: 37.7 kB / 0.5699 GB, free: 3.035 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1544, allocations: 208.6 kB / 0.5701 GB, free: 2.824 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1545, allocations: 130.1 kB / 0.5702 GB, free: 2.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1546, allocations: 4 kB / 0.5702 GB, free: 2.691 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1547, allocations: 354.8 kB / 0.5706 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.1553, allocations: 263.9 kB / 0.5708 GB, free: 2.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.1558, allocations: 267.7 kB / 0.5711 GB, free: 1.816 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.1565, allocations: 268.6 kB / 0.5714 GB, free: 1.555 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1565, allocations: 0 / 0.5714 GB, free: 1.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.2178/0.3743, allocations: 1.612 MB / 0.5729 GB, free: 44.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3743, allocations: 8.859 kB / 0.5729 GB, free: 44.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3743, allocations: 0 / 0.5729 GB, free: 44.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/0.3779, allocations: 1.007 MB / 0.5739 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3781, allocations: 37.94 kB / 0.574 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.3842, allocations: 3.399 MB / 0.5773 GB, free: 43.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.3848, allocations: 62.92 kB / 0.5773 GB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.3848, allocations: 10.38 kB / 0.5773 GB, free: 43.35 MB / 442.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.385, allocations: 156.9 kB / 0.5775 GB, free: 43.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.3851, allocations: 40.45 kB / 0.5775 GB, free: 43.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.3889, allocations: 1.467 MB / 0.579 GB, free: 43.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3889, allocations: 3.531 kB / 0.579 GB, free: 43.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3889, allocations: 1.938 kB / 0.579 GB, free: 43.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3889, allocations: 3.469 kB / 0.579 GB, free: 43.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.3894, allocations: 0.5542 MB / 0.5795 GB, free: 42.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3894, allocations: 0.9375 kB / 0.5795 GB, free: 42.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3897, allocations: 46.27 kB / 0.5796 GB, free: 42.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.3919, allocations: 0.7534 MB / 0.5803 GB, free: 42.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.3919, allocations: 8.734 kB / 0.5803 GB, free: 42.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.3957, allocations: 2.599 MB / 0.5828 GB, free: 41.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3958, allocations: 2.25 kB / 0.5828 GB, free: 41.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.4002, allocations: 1.879 MB / 0.5847 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4004, allocations: 127.9 kB / 0.5848 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.4005, allocations: 6.25 kB / 0.5848 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.401, allocations: 43.05 kB / 0.5848 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.4012, allocations: 94.52 kB / 0.5849 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.4013, allocations: 13.2 kB / 0.5849 GB, free: 41.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003193/0.4016, allocations: 303.4 kB / 0.5852 GB, free: 41.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.4016, allocations: 0 / 0.5852 GB, free: 41.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.4021, allocations: 149.5 kB / 0.5854 GB, free: 41.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004897/0.407, allocations: 2.42 MB / 0.5877 GB, free: 40.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002877/0.4099, allocations: 1.226 MB / 0.5889 GB, free: 39.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.41, allocations: 0 / 0.5889 GB, free: 39.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.4117, allocations: 0.8225 MB / 0.5897 GB, free: 39.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.412, allocations: 27.56 kB / 0.5898 GB, free: 39.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008533/0.4205, allocations: 4.254 MB / 0.5939 GB, free: 38.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4209, allocations: 0.8319 MB / 0.5947 GB, free: 37.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.421, allocations: 32.25 kB / 0.5948 GB, free: 37.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.4213, allocations: 144.4 kB / 0.5949 GB, free: 37.77 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4213, allocations: 0 / 0.5949 GB, free: 37.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.4468, allocations: 11.53 MB / 0.6062 GB, free: 37.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.447, allocations: 232.9 kB / 0.6064 GB, free: 37.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.575, allocations: 0 / 0.6064 GB, free: 37.01 MB / 442.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)