Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.14/0.14, allocations: 12.6 MB / 28.23 MB, free: 0.7617 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 115.4 kB / 31.84 MB, free: 3.891 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 183.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4859/0.4859, allocations: 78.51 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 143.3 kB / 0.5553 GB, free: 28.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1041, allocations: 68.14 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003892/0.1081, allocations: 3.06 MB / 0.6249 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.11, allocations: 1.022 MB / 0.6259 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.1103, allocations: 4 kB / 0.6259 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.1107, allocations: 95.27 kB / 0.626 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.1112, allocations: 154.9 kB / 0.6261 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1123, allocations: 470.3 kB / 0.6266 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.1129, allocations: 0.5332 MB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1132, allocations: 93.03 kB / 0.6272 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.1135, allocations: 227 kB / 0.6274 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.1139, allocations: 298.7 kB / 0.6277 GB, free: 10 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.1141, allocations: 48 kB / 0.6277 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.1143, allocations: 103.9 kB / 0.6278 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.1144, allocations: 111.6 kB / 0.6279 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1146, allocations: 238.6 kB / 0.6282 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.1152, allocations: 0.5814 MB / 0.6287 GB, free: 8.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1152, allocations: 4 kB / 0.6287 GB, free: 8.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1152, allocations: 0 / 0.6287 GB, free: 8.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1153, allocations: 0 / 0.6287 GB, free: 8.926 MB / 446.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.003401/0.1187, allocations: 1.149 MB / 0.6298 GB, free: 7.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1187, allocations: 19.98 kB / 0.6299 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.196e-05/0.1188, allocations: 70.72 kB / 0.6299 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.1204, allocations: 268 kB / 0.6302 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.121, allocations: 426 kB / 0.6306 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.1211, allocations: 91.89 kB / 0.6307 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.1212, allocations: 28 kB / 0.6307 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.122, allocations: 404.7 kB / 0.6311 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.122, allocations: 0 / 0.6311 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.122, allocations: 12 kB / 0.6311 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.122, allocations: 11.94 kB / 0.6311 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.1228, allocations: 390 kB / 0.6315 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1248, allocations: 1.115 MB / 0.6326 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/0.1313, allocations: 1.376 MB / 0.6339 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.1319, allocations: 280.8 kB / 0.6342 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/0.132, allocations: 7.984 kB / 0.6342 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.132, allocations: 42.5 kB / 0.6342 GB, free: 3.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.132, allocations: 3.938 kB / 0.6342 GB, free: 3.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006436/0.1384, allocations: 1.975 MB / 0.6362 GB, free: 1.031 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1385, allocations: 63.34 kB / 0.6362 GB, free: 0.957 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.139, allocations: 421.7 kB / 0.6366 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.139, allocations: 33.7 kB / 0.6367 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1392, allocations: 212.5 kB / 0.6369 GB, free: 292 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1393, allocations: 130.1 kB / 0.637 GB, free: 160 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1394, allocations: 57.7 kB / 0.637 GB, free: 96 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1396, allocations: 350.8 kB / 0.6374 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.1401, allocations: 239.9 kB / 0.6376 GB, free: 15.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.1406, allocations: 247.6 kB / 0.6378 GB, free: 15.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1416, allocations: 0.5011 MB / 0.6383 GB, free: 14.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1416, allocations: 3.938 kB / 0.6383 GB, free: 14.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004205/0.1458, allocations: 1.372 MB / 0.6397 GB, free: 13.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1459, allocations: 11.94 kB / 0.6397 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1459, allocations: 0 / 0.6397 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.1493, allocations: 0.8914 MB / 0.6406 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1495, allocations: 35.98 kB / 0.6406 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006337/0.1558, allocations: 3.37 MB / 0.6439 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.1563, allocations: 55.64 kB / 0.6439 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.1564, allocations: 19.92 kB / 0.644 GB, free: 8.84 MB / 462.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.0002008/0.1566, allocations: 151.3 kB / 0.6441 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.1567, allocations: 39.53 kB / 0.6441 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.1603, allocations: 1.233 MB / 0.6453 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1604, allocations: 4 kB / 0.6454 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1604, allocations: 4 kB / 0.6454 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1604, allocations: 3.938 kB / 0.6454 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.161, allocations: 0.5516 MB / 0.6459 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.161, allocations: 0 / 0.6459 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1613, allocations: 51.91 kB / 0.6459 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.1635, allocations: 0.6268 MB / 0.6466 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.1635, allocations: 8 kB / 0.6466 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.1675, allocations: 2.549 MB / 0.6491 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1676, allocations: 0 / 0.6491 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/0.1719, allocations: 1.61 MB / 0.6506 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1721, allocations: 128.6 kB / 0.6507 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.1721, allocations: 4 kB / 0.6508 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.1726, allocations: 35.97 kB / 0.6508 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.1728, allocations: 95.72 kB / 0.6509 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.1729, allocations: 4.125 kB / 0.6509 GB, free: 1.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003268/0.1732, allocations: 307.2 kB / 0.6512 GB, free: 1.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1732, allocations: 0 / 0.6512 GB, free: 1.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.1737, allocations: 151.8 kB / 0.6513 GB, free: 1.023 MB / 462.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.004758/0.1785, allocations: 2.163 MB / 0.6534 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.1815, allocations: 1.131 MB / 0.6545 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1815, allocations: 4 kB / 0.6545 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.1833, allocations: 0.7441 MB / 0.6553 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1837, allocations: 33.5 kB / 0.6553 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.1977, allocations: 6.077 MB / 0.6612 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.1982, allocations: 0.8157 MB / 0.662 GB, free: 5.785 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1984, allocations: 30.97 kB / 0.6621 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.1986, allocations: 147.4 kB / 0.6622 GB, free: 5.613 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1986, allocations: 0 / 0.6622 GB, free: 5.613 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.357/7.555, allocations: 13.43 MB / 0.6753 GB, free: 8.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.81/31.37, allocations: 11.28 kB / 0.6753 GB, free: 8.258 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)