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.001521/0.001521, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.344/1.344, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001375/0.001375, allocations: 184.5 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5613/0.5613, allocations: 91.9 MB / 431.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 71.89 kB / 0.5013 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4127, allocations: 71.26 MB / 0.5709 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003788/0.4165, allocations: 3.227 MB / 0.5741 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.4183, allocations: 0.9825 MB / 0.575 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.4185, allocations: 8.875 kB / 0.575 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.4188, allocations: 73.95 kB / 0.5751 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.4191, allocations: 132.8 kB / 0.5752 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.42, allocations: 441.3 kB / 0.5756 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.4205, allocations: 0.5109 MB / 0.5761 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.4207, allocations: 82.73 kB / 0.5762 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.4209, allocations: 201.4 kB / 0.5764 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.4212, allocations: 284.5 kB / 0.5767 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.4213, allocations: 28.12 kB / 0.5767 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.4215, allocations: 81.75 kB / 0.5768 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.4216, allocations: 96.53 kB / 0.5769 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.4218, allocations: 214.7 kB / 0.5771 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.4223, allocations: 0.5717 MB / 0.5776 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4223, allocations: 0.9062 kB / 0.5776 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4223, allocations: 0 / 0.5776 GB, free: 33.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4223, allocations: 0 / 0.5776 GB, free: 33.3 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.00332/0.4257, allocations: 1.159 MB / 0.5788 GB, free: 32.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4257, allocations: 8.188 kB / 0.5788 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/0.4258, allocations: 67.81 kB / 0.5789 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.4274, allocations: 274.7 kB / 0.5791 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.4279, allocations: 419.7 kB / 0.5795 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.428, allocations: 92 kB / 0.5796 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.4281, allocations: 29.75 kB / 0.5796 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.4289, allocations: 407 kB / 0.58 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4289, allocations: 3.328 kB / 0.58 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.4289, allocations: 8 kB / 0.58 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.429, allocations: 8.812 kB / 0.58 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.4297, allocations: 392.3 kB / 0.5804 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.4316, allocations: 1.126 MB / 0.5815 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.438, allocations: 1.378 MB / 0.5829 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.4386, allocations: 279.5 kB / 0.5831 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.4387, allocations: 5.547 kB / 0.5831 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4387, allocations: 50.17 kB / 0.5832 GB, free: 30.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 3.636e-06/0.4388, allocations: 0 / 0.5832 GB, free: 30.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006459/0.4452, allocations: 1.973 MB / 0.5851 GB, free: 30.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.4453, allocations: 58.88 kB / 0.5852 GB, free: 30.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/0.4459, allocations: 432 kB / 0.5856 GB, free: 29.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.4459, allocations: 32.11 kB / 0.5856 GB, free: 29.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4461, allocations: 208.6 kB / 0.5858 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4462, allocations: 119.1 kB / 0.5859 GB, free: 29.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4463, allocations: 66.38 kB / 0.586 GB, free: 29.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4465, allocations: 349.6 kB / 0.5863 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.447, allocations: 241.9 kB / 0.5865 GB, free: 29.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.4475, allocations: 237.3 kB / 0.5868 GB, free: 28.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4485, allocations: 0.5136 MB / 0.5873 GB, free: 28.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4485, allocations: 0 / 0.5873 GB, free: 28.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004406/0.4529, allocations: 1.371 MB / 0.5886 GB, free: 28.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.453, allocations: 9.531 kB / 0.5886 GB, free: 28.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.453, allocations: 0 / 0.5886 GB, free: 28.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/0.4565, allocations: 0.8836 MB / 0.5895 GB, free: 28.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.4567, allocations: 36.94 kB / 0.5895 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.4627, allocations: 3.113 MB / 0.5926 GB, free: 26.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.4633, allocations: 51 kB / 0.5926 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4634, allocations: 7.344 kB / 0.5926 GB, free: 26.16 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 (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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.4636, allocations: 158.2 kB / 0.5928 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.4637, allocations: 38.97 kB / 0.5928 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.4674, allocations: 1.234 MB / 0.594 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4675, allocations: 3.812 kB / 0.594 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4675, allocations: 2.281 kB / 0.594 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4675, allocations: 5.156 kB / 0.594 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.4682, allocations: 0.549 MB / 0.5945 GB, free: 25.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4682, allocations: 0 / 0.5945 GB, free: 25.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.4685, allocations: 40.17 kB / 0.5946 GB, free: 25.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.4708, allocations: 0.6273 MB / 0.5952 GB, free: 25.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.4709, allocations: 8.109 kB / 0.5952 GB, free: 25.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.4746, allocations: 2.361 MB / 0.5975 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4746, allocations: 0 / 0.5975 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/0.4792, allocations: 1.604 MB / 0.5991 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.4794, allocations: 134.2 kB / 0.5992 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.4795, allocations: 7.438 kB / 0.5992 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.48, allocations: 30.64 kB / 0.5992 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.4803, allocations: 87.94 kB / 0.5993 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.4803, allocations: 6.312 kB / 0.5993 GB, free: 22.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.4808, allocations: 309.2 kB / 0.5996 GB, free: 22.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4808, allocations: 0 / 0.5996 GB, free: 22.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006396/0.4814, allocations: 152.2 kB / 0.5998 GB, free: 22.52 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 (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.004733/0.4862, allocations: 2.159 MB / 0.6019 GB, free: 21.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.4894, allocations: 1.124 MB / 0.603 GB, free: 20.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4894, allocations: 1.344 kB / 0.603 GB, free: 20.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.4912, allocations: 0.7401 MB / 0.6037 GB, free: 20.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.492, allocations: 47.36 kB / 0.6037 GB, free: 20.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.5071, allocations: 6.245 MB / 0.6098 GB, free: 17.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.5076, allocations: 0.815 MB / 0.6106 GB, free: 16.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.5078, allocations: 33.7 kB / 0.6107 GB, free: 16.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.5081, allocations: 137.7 kB / 0.6108 GB, free: 16.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5081, allocations: 3.938 kB / 0.6108 GB, free: 16.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.5385, allocations: 11.83 MB / 0.6224 GB, free: 9.488 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.5387, allocations: 245.6 kB / 0.6226 GB, free: 9.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.683, allocations: 3.5 kB / 0.6226 GB, free: 9.238 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/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)