Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.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/Modelica 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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.372/1.372, allocations: 223.2 MB / 238.9 MB, free: 5.676 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 172.3 kB / 290.2 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.478/0.478, allocations: 79.45 MB / 420.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 12 kB / 0.4891 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4005, allocations: 69.49 MB / 0.557 GB, free: 37.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002849/0.4034, allocations: 2.589 MB / 0.5595 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4049, allocations: 0.9352 MB / 0.5604 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.405, allocations: 4.594 kB / 0.5604 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.4053, allocations: 74.92 kB / 0.5605 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.4056, allocations: 146.3 kB / 0.5606 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.4064, allocations: 381.5 kB / 0.561 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.4068, allocations: 343.2 kB / 0.5613 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.407, allocations: 78.56 kB / 0.5614 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4072, allocations: 195.5 kB / 0.5616 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.4075, allocations: 261.2 kB / 0.5618 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.4075, allocations: 25.62 kB / 0.5618 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.4077, allocations: 66.19 kB / 0.5619 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.4078, allocations: 93.56 kB / 0.562 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.4079, allocations: 90.55 kB / 0.5621 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.4083, allocations: 433.1 kB / 0.5625 GB, free: 37.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4083, allocations: 1.312 kB / 0.5625 GB, free: 37.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.4083, allocations: 0 / 0.5625 GB, free: 37.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4083, allocations: 4.562 kB / 0.5625 GB, free: 37.38 MB / 430.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.00301/0.4114, allocations: 1.104 MB / 0.5636 GB, free: 36.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4114, allocations: 9.906 kB / 0.5636 GB, free: 36.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.4115, allocations: 62.7 kB / 0.5636 GB, free: 36.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.4131, allocations: 274.4 kB / 0.5639 GB, free: 36.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.4136, allocations: 405.9 kB / 0.5643 GB, free: 36.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4137, allocations: 88.72 kB / 0.5644 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.4137, allocations: 32.23 kB / 0.5644 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.4145, allocations: 430.9 kB / 0.5648 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4145, allocations: 3.953 kB / 0.5648 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.4146, allocations: 10.88 kB / 0.5648 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4146, allocations: 7.297 kB / 0.5648 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.4153, allocations: 419.2 kB / 0.5652 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4171, allocations: 1.146 MB / 0.5664 GB, free: 36.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006921/0.424, allocations: 1.847 MB / 0.5682 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.4241, allocations: 5.781 kB / 0.5682 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4241, allocations: 30.56 kB / 0.5682 GB, free: 36.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.4242, allocations: 0 / 0.5682 GB, free: 36.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006362/0.4305, allocations: 2.386 MB / 0.5705 GB, free: 35.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4306, allocations: 54.19 kB / 0.5706 GB, free: 35.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.4311, allocations: 425 kB / 0.571 GB, free: 35.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.4311, allocations: 32.55 kB / 0.571 GB, free: 35.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4312, allocations: 212.5 kB / 0.5712 GB, free: 35.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4314, allocations: 123.7 kB / 0.5713 GB, free: 35.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.4314, allocations: 10.59 kB / 0.5713 GB, free: 35.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.4315, allocations: 351.3 kB / 0.5717 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.432, allocations: 259 kB / 0.5719 GB, free: 34.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.4324, allocations: 273.6 kB / 0.5722 GB, free: 34.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.4329, allocations: 273.7 kB / 0.5724 GB, free: 34.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.433, allocations: 0 / 0.5724 GB, free: 34.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004403/0.4374, allocations: 1.611 MB / 0.574 GB, free: 34.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4374, allocations: 11.64 kB / 0.574 GB, free: 34.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4374, allocations: 0 / 0.574 GB, free: 34.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/0.4408, allocations: 1.009 MB / 0.575 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.441, allocations: 42.97 kB / 0.5751 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.4472, allocations: 3.399 MB / 0.5784 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.4478, allocations: 64.45 kB / 0.5784 GB, free: 32.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.4479, allocations: 5.969 kB / 0.5784 GB, free: 32.88 MB / 430.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 (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.0002043/0.4481, allocations: 155 kB / 0.5786 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.4482, allocations: 43.98 kB / 0.5786 GB, free: 32.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/0.4521, allocations: 1.469 MB / 0.5801 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4521, allocations: 3.125 kB / 0.5801 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4521, allocations: 3.25 kB / 0.5801 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4521, allocations: 3.375 kB / 0.5801 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.4529, allocations: 0.5533 MB / 0.5806 GB, free: 31.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.4529, allocations: 0 / 0.5806 GB, free: 31.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.4532, allocations: 43.05 kB / 0.5807 GB, free: 31.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.4558, allocations: 0.7519 MB / 0.5814 GB, free: 31.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.4558, allocations: 10.25 kB / 0.5814 GB, free: 31.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.4599, allocations: 2.606 MB / 0.584 GB, free: 30.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4599, allocations: 3.938 kB / 0.584 GB, free: 30.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.4645, allocations: 1.868 MB / 0.5858 GB, free: 29.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.4647, allocations: 127.5 kB / 0.5859 GB, free: 29.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.4647, allocations: 7.578 kB / 0.5859 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.4652, allocations: 47.86 kB / 0.586 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.4655, allocations: 87.94 kB / 0.586 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.4655, allocations: 6.875 kB / 0.586 GB, free: 29.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.4659, allocations: 305.6 kB / 0.5863 GB, free: 29.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4659, allocations: 4 kB / 0.5863 GB, free: 29.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.4665, allocations: 147.2 kB / 0.5865 GB, free: 29.14 MB / 430.1 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.004894/0.4714, allocations: 2.427 MB / 0.5888 GB, free: 27.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.4745, allocations: 1.232 MB / 0.5901 GB, free: 27.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4745, allocations: 4 kB / 0.5901 GB, free: 27.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.4763, allocations: 0.8231 MB / 0.5909 GB, free: 26.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.4766, allocations: 30.75 kB / 0.5909 GB, free: 26.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/0.4851, allocations: 4.241 MB / 0.595 GB, free: 25.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.4854, allocations: 0.8293 MB / 0.5958 GB, free: 24.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.4856, allocations: 30.86 kB / 0.5959 GB, free: 24.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.4858, allocations: 145.4 kB / 0.596 GB, free: 24.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4858, allocations: 1.219 kB / 0.596 GB, free: 24.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.5145, allocations: 11.52 MB / 0.6073 GB, free: 23.03 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.5147, allocations: 227.8 kB / 0.6075 GB, free: 22.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.437, allocations: 0 / 0.6075 GB, free: 22.79 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: