Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007849/0.000785, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.367/1.367, allocations: 223.2 MB / 239 MB, free: 5.469 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.001131/0.001131, allocations: 176.5 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4647/0.4647, allocations: 78.56 MB / 419.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003795, allocations: 8 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 69.37 MB / 0.5559 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.3149/0.4558, allocations: 2.613 MB / 0.5585 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4581, allocations: 0.9044 MB / 0.5593 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.4583, allocations: 3.969 kB / 0.5593 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.4586, allocations: 69.8 kB / 0.5594 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.459, allocations: 122.8 kB / 0.5595 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4602, allocations: 372.9 kB / 0.5599 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.4608, allocations: 461.3 kB / 0.5603 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.4611, allocations: 77.81 kB / 0.5604 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.4614, allocations: 179.8 kB / 0.5606 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.4618, allocations: 247.2 kB / 0.5608 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.4619, allocations: 22.75 kB / 0.5608 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.4622, allocations: 83.38 kB / 0.5609 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.4623, allocations: 88.95 kB / 0.561 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.4624, allocations: 89.58 kB / 0.5611 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.4629, allocations: 425.5 kB / 0.5615 GB, free: 36.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4629, allocations: 0 / 0.5615 GB, free: 36.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4629, allocations: 1.438 kB / 0.5615 GB, free: 36.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.463, allocations: 1.656 kB / 0.5615 GB, free: 36.52 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.004308/0.4673, allocations: 1.079 MB / 0.5625 GB, free: 36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4674, allocations: 11.22 kB / 0.5625 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.4675, allocations: 62.3 kB / 0.5626 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.4701, allocations: 268.6 kB / 0.5629 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.4709, allocations: 391.8 kB / 0.5632 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.471, allocations: 94.06 kB / 0.5633 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.4711, allocations: 29.41 kB / 0.5634 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.4722, allocations: 418 kB / 0.5638 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4722, allocations: 0 / 0.5638 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.4723, allocations: 16.05 kB / 0.5638 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4723, allocations: 8.812 kB / 0.5638 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.4734, allocations: 412 kB / 0.5642 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.4759, allocations: 1.122 MB / 0.5653 GB, free: 35.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009079/0.485, allocations: 1.846 MB / 0.5671 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.486, allocations: 295.3 kB / 0.5673 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/0.4861, allocations: 3.969 kB / 0.5674 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.4861, allocations: 36.94 kB / 0.5674 GB, free: 35.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 4.438e-06/0.4861, allocations: 0 / 0.5674 GB, free: 35.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.009114/0.4953, allocations: 2.365 MB / 0.5697 GB, free: 34.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.4954, allocations: 61.06 kB / 0.5698 GB, free: 34.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.4961, allocations: 394.2 kB / 0.5701 GB, free: 34.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.4962, allocations: 36.42 kB / 0.5702 GB, free: 34.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4964, allocations: 212.7 kB / 0.5704 GB, free: 34.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.4965, allocations: 121.6 kB / 0.5705 GB, free: 34.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.4966, allocations: 5.812 kB / 0.5705 GB, free: 34.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4967, allocations: 351.1 kB / 0.5708 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/0.4974, allocations: 250.7 kB / 0.5711 GB, free: 33.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.4982, allocations: 260.6 kB / 0.5713 GB, free: 33.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.499, allocations: 261 kB / 0.5716 GB, free: 33.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.499, allocations: 2.781 kB / 0.5716 GB, free: 33.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.005956/0.505, allocations: 1.515 MB / 0.573 GB, free: 33.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.505, allocations: 3 kB / 0.573 GB, free: 33.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.505, allocations: 0 / 0.573 GB, free: 33.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004373/0.5094, allocations: 0.8974 MB / 0.5739 GB, free: 33.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.5098, allocations: 39.45 kB / 0.574 GB, free: 33.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/0.518, allocations: 3.036 MB / 0.5769 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.5188, allocations: 64.83 kB / 0.577 GB, free: 32.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.5189, allocations: 8.875 kB / 0.577 GB, free: 32.36 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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.5192, allocations: 156.4 kB / 0.5771 GB, free: 32.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.5194, allocations: 40.02 kB / 0.5772 GB, free: 32.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.525, allocations: 1.455 MB / 0.5786 GB, free: 32.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.525, allocations: 3.125 kB / 0.5786 GB, free: 32.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5251, allocations: 6.609 kB / 0.5786 GB, free: 32.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5251, allocations: 0 / 0.5786 GB, free: 32.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.5256, allocations: 0.5322 MB / 0.5791 GB, free: 31.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5256, allocations: 0 / 0.5791 GB, free: 31.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.5259, allocations: 45.62 kB / 0.5792 GB, free: 31.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002195/0.5281, allocations: 0.7432 MB / 0.5799 GB, free: 31.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.5281, allocations: 7.656 kB / 0.5799 GB, free: 31.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.5318, allocations: 2.522 MB / 0.5824 GB, free: 30.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5318, allocations: 3.875 kB / 0.5824 GB, free: 30.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.5361, allocations: 1.839 MB / 0.5842 GB, free: 30 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5363, allocations: 127.3 kB / 0.5843 GB, free: 29.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.5363, allocations: 8.594 kB / 0.5843 GB, free: 29.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.5368, allocations: 43.92 kB / 0.5843 GB, free: 29.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.537, allocations: 94.02 kB / 0.5844 GB, free: 29.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.537, allocations: 13.48 kB / 0.5844 GB, free: 29.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003283/0.5374, allocations: 291.3 kB / 0.5847 GB, free: 29.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5374, allocations: 0 / 0.5847 GB, free: 29.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005887/0.538, allocations: 143.8 kB / 0.5849 GB, free: 29.67 MB / 430.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 (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.00461/0.5426, allocations: 2.381 MB / 0.5872 GB, free: 28.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.5455, allocations: 1.179 MB / 0.5883 GB, free: 27.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5455, allocations: 3.938 kB / 0.5883 GB, free: 27.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.5473, allocations: 0.8073 MB / 0.5891 GB, free: 27.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.5478, allocations: 35.02 kB / 0.5892 GB, free: 27.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008625/0.5565, allocations: 3.915 MB / 0.593 GB, free: 25.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5568, allocations: 0.8119 MB / 0.5938 GB, free: 25.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.557, allocations: 33.39 kB / 0.5938 GB, free: 25.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5573, allocations: 137 kB / 0.5939 GB, free: 24.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5573, allocations: 0 / 0.5939 GB, free: 24.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.5894, allocations: 10.85 MB / 0.6045 GB, free: 24.34 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.5896, allocations: 233.9 kB / 0.6048 GB, free: 24.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.545, allocations: 0 / 0.6048 GB, free: 24.1 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: