Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.007968/0.007968, allocations: 170.6 kB / 15.13 MB, free: 6.023 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.423/1.423, allocations: 223.3 MB / 239.1 MB, free: 1.738 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007796/0.0007795, allocations: 99.91 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4535/0.4535, allocations: 78.61 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 23.98 kB / 500 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 69.35 MB / 0.556 GB, free: 38.35 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00279/0.3636, allocations: 2.617 MB / 0.5585 GB, free: 38.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3656, allocations: 0.8968 MB / 0.5594 GB, free: 38.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.366, allocations: 3.938 kB / 0.5594 GB, free: 38.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3664, allocations: 76.19 kB / 0.5595 GB, free: 38.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.3669, allocations: 121.5 kB / 0.5596 GB, free: 38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.3679, allocations: 381.7 kB / 0.56 GB, free: 37.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.3685, allocations: 461.4 kB / 0.5604 GB, free: 37.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3687, allocations: 87.47 kB / 0.5605 GB, free: 37.81 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.3691, allocations: 180.2 kB / 0.5607 GB, free: 37.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.3695, allocations: 245.6 kB / 0.5609 GB, free: 37.72 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.3695, allocations: 23.31 kB / 0.5609 GB, free: 37.72 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.3698, allocations: 75.73 kB / 0.561 GB, free: 37.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3699, allocations: 87.11 kB / 0.5611 GB, free: 37.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.426e-05/0.37, allocations: 92.5 kB / 0.5612 GB, free: 37.65 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.3705, allocations: 432.4 kB / 0.5616 GB, free: 37.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3705, allocations: 0.5938 kB / 0.5616 GB, free: 37.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3705, allocations: 0.5312 kB / 0.5616 GB, free: 37.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3705, allocations: 0 / 0.5616 GB, free: 37.6 MB / 426.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.003295/0.3738, allocations: 1.079 MB / 0.5626 GB, free: 37.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3739, allocations: 9.438 kB / 0.5626 GB, free: 37.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.413e-05/0.374, allocations: 65.2 kB / 0.5627 GB, free: 37.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.3756, allocations: 266.8 kB / 0.563 GB, free: 37.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.3762, allocations: 389.9 kB / 0.5633 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3763, allocations: 89.08 kB / 0.5634 GB, free: 36.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.3764, allocations: 27.17 kB / 0.5634 GB, free: 36.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.3773, allocations: 420.9 kB / 0.5638 GB, free: 36.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3773, allocations: 3.953 kB / 0.5639 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.3774, allocations: 12.25 kB / 0.5639 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3774, allocations: 5.875 kB / 0.5639 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008912/0.3783, allocations: 412.8 kB / 0.5643 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.3802, allocations: 1.12 MB / 0.5654 GB, free: 36.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007263/0.3875, allocations: 1.845 MB / 0.5672 GB, free: 35.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.3882, allocations: 302.6 kB / 0.5674 GB, free: 35.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.3882, allocations: 7.781 kB / 0.5675 GB, free: 35.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3883, allocations: 37.47 kB / 0.5675 GB, free: 35.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/0.3883, allocations: 0 / 0.5675 GB, free: 35.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.006632/0.3949, allocations: 2.359 MB / 0.5698 GB, free: 34.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.395, allocations: 64.08 kB / 0.5699 GB, free: 34.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.3955, allocations: 395.3 kB / 0.5702 GB, free: 34.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.3955, allocations: 32.8 kB / 0.5703 GB, free: 34.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3956, allocations: 211.3 kB / 0.5705 GB, free: 34.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3957, allocations: 122.8 kB / 0.5706 GB, free: 34.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.3958, allocations: 10.97 kB / 0.5706 GB, free: 34.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.3958, allocations: 349 kB / 0.5709 GB, free: 33.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.3963, allocations: 259 kB / 0.5712 GB, free: 33.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.3968, allocations: 252.8 kB / 0.5714 GB, free: 33.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.3974, allocations: 266.1 kB / 0.5717 GB, free: 33.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3974, allocations: 0 / 0.5717 GB, free: 33.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004205/0.4016, allocations: 1.516 MB / 0.5731 GB, free: 33.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4017, allocations: 6.375 kB / 0.5732 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4017, allocations: 0 / 0.5732 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/0.4047, allocations: 0.8896 MB / 0.574 GB, free: 33.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4049, allocations: 37.61 kB / 0.5741 GB, free: 33.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.4102, allocations: 3.043 MB / 0.577 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.4109, allocations: 61.28 kB / 0.5771 GB, free: 31.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.4109, allocations: 9.688 kB / 0.5771 GB, free: 31.19 MB / 426.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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.4111, allocations: 150.6 kB / 0.5772 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.4112, allocations: 40.3 kB / 0.5773 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.4151, allocations: 1.457 MB / 0.5787 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4152, allocations: 9.188 kB / 0.5787 GB, free: 30.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4152, allocations: 0 / 0.5787 GB, free: 30.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4152, allocations: 5.578 kB / 0.5787 GB, free: 30.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.4157, allocations: 0.5303 MB / 0.5792 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.4158, allocations: 3.953 kB / 0.5792 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.416, allocations: 42.42 kB / 0.5793 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.4183, allocations: 0.7406 MB / 0.58 GB, free: 30.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.4183, allocations: 11.06 kB / 0.58 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/0.4218, allocations: 2.522 MB / 0.5825 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4219, allocations: 400 / 0.5825 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/0.4261, allocations: 1.846 MB / 0.5843 GB, free: 27.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4263, allocations: 123.1 kB / 0.5844 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.4263, allocations: 7.188 kB / 0.5844 GB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.4268, allocations: 47.42 kB / 0.5844 GB, free: 27.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.427, allocations: 101.1 kB / 0.5845 GB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.427, allocations: 6.156 kB / 0.5845 GB, free: 27.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002659/0.4273, allocations: 284.1 kB / 0.5848 GB, free: 27.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.4273, allocations: 0 / 0.5848 GB, free: 27.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.4278, allocations: 146.6 kB / 0.585 GB, free: 27.5 MB / 426.7 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 (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.004635/0.4324, allocations: 2.388 MB / 0.5873 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.4353, allocations: 1.179 MB / 0.5884 GB, free: 25.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4353, allocations: 1.062 kB / 0.5884 GB, free: 25.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.4372, allocations: 0.8096 MB / 0.5892 GB, free: 25.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.4377, allocations: 36.19 kB / 0.5893 GB, free: 25.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008232/0.4459, allocations: 3.914 MB / 0.5931 GB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4463, allocations: 0.8192 MB / 0.5939 GB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.4464, allocations: 25.36 kB / 0.5939 GB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.4466, allocations: 135.2 kB / 0.594 GB, free: 22.78 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4466, allocations: 0 / 0.594 GB, free: 22.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.4764, allocations: 10.86 MB / 0.6046 GB, free: 21.83 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.4766, allocations: 250.5 kB / 0.6049 GB, free: 21.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.801, allocations: 0.5625 kB / 0.6049 GB, free: 21.59 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)