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.07781/0.07781, allocations: 12.59 MB / 28.23 MB, free: 1.066 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.001028/0.001028, allocations: 111.4 kB / 31.83 MB, free: 4.012 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, 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.001149/0.001149, allocations: 196.4 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4113/0.4113, allocations: 78.51 MB / 419.3 MB, free: 10.72 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.00268/0.00268, allocations: 145.7 kB / 0.5554 GB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1255, allocations: 68.11 MB / 0.6219 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.00438/0.1299, allocations: 3.064 MB / 0.6249 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.132, allocations: 1.018 MB / 0.6259 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.1324, allocations: 4 kB / 0.6259 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1328, allocations: 95.27 kB / 0.626 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.1333, allocations: 178.8 kB / 0.6261 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1344, allocations: 466 kB / 0.6266 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.135, allocations: 0.5332 MB / 0.6271 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.1353, allocations: 93.05 kB / 0.6272 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.1356, allocations: 223 kB / 0.6274 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.1361, allocations: 302.7 kB / 0.6277 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1362, allocations: 48 kB / 0.6277 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.1364, allocations: 99.98 kB / 0.6278 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1366, allocations: 115.6 kB / 0.6279 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1368, allocations: 238.6 kB / 0.6282 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.1375, allocations: 0.5853 MB / 0.6287 GB, free: 6.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1375, allocations: 3.938 kB / 0.6287 GB, free: 6.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1375, allocations: 8 kB / 0.6288 GB, free: 6.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1375, allocations: 0 / 0.6288 GB, free: 6.594 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.003415/0.1409, allocations: 1.145 MB / 0.6299 GB, free: 5.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.141, allocations: 15.98 kB / 0.6299 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1411, allocations: 66.72 kB / 0.6299 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.1427, allocations: 272 kB / 0.6302 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.1433, allocations: 422 kB / 0.6306 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.1435, allocations: 91.89 kB / 0.6307 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.1436, allocations: 28 kB / 0.6307 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00086/0.1444, allocations: 408.7 kB / 0.6311 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1445, allocations: 0 / 0.6311 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.1445, allocations: 8 kB / 0.6311 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1445, allocations: 8 kB / 0.6311 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/0.1454, allocations: 386 kB / 0.6315 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.1478, allocations: 1.127 MB / 0.6326 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.1541, allocations: 1.38 MB / 0.6339 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.1547, allocations: 276.8 kB / 0.6342 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.1548, allocations: 7.984 kB / 0.6342 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.1548, allocations: 42.5 kB / 0.6343 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.1548, allocations: 4 kB / 0.6343 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.00608/0.1609, allocations: 1.979 MB / 0.6362 GB, free: 14.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.161, allocations: 59.34 kB / 0.6363 GB, free: 14.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.1615, allocations: 425.7 kB / 0.6367 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.1615, allocations: 33.7 kB / 0.6367 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1617, allocations: 212.5 kB / 0.6369 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.1618, allocations: 126.1 kB / 0.637 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1619, allocations: 61.7 kB / 0.6371 GB, free: 13.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1621, allocations: 346.8 kB / 0.6374 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.1626, allocations: 247.8 kB / 0.6376 GB, free: 13.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.1631, allocations: 239.7 kB / 0.6379 GB, free: 12.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.164, allocations: 0.5089 MB / 0.6384 GB, free: 12.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.164, allocations: 0 / 0.6384 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004113/0.1682, allocations: 1.369 MB / 0.6397 GB, free: 11.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1682, allocations: 11.94 kB / 0.6397 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1682, allocations: 0 / 0.6397 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/0.1715, allocations: 0.8804 MB / 0.6406 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1718, allocations: 39.92 kB / 0.6406 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006328/0.1781, allocations: 3.386 MB / 0.6439 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.1786, allocations: 55.64 kB / 0.644 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1786, allocations: 15.94 kB / 0.644 GB, free: 6.508 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.0001949/0.1788, allocations: 147.4 kB / 0.6441 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.1789, allocations: 35.53 kB / 0.6442 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.1825, allocations: 1.241 MB / 0.6454 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1825, allocations: 0 / 0.6454 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.1825, allocations: 4 kB / 0.6454 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1825, allocations: 0 / 0.6454 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.1832, allocations: 0.5477 MB / 0.6459 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1832, allocations: 4 kB / 0.6459 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.1835, allocations: 43.97 kB / 0.646 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.1857, allocations: 0.6346 MB / 0.6466 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.1857, allocations: 8 kB / 0.6466 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.1897, allocations: 2.549 MB / 0.6491 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1897, allocations: 0 / 0.6491 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.1938, allocations: 1.61 MB / 0.6506 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.194, allocations: 128.6 kB / 0.6508 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.194, allocations: 8 kB / 0.6508 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.1945, allocations: 31.97 kB / 0.6508 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.1947, allocations: 99.66 kB / 0.6509 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.1948, allocations: 8 kB / 0.6509 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.1952, allocations: 307.2 kB / 0.6512 GB, free: 14.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1952, allocations: 0 / 0.6512 GB, free: 14.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.1958, allocations: 151.8 kB / 0.6513 GB, free: 14.7 MB / 478.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.004461/0.2002, allocations: 2.155 MB / 0.6534 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.2031, allocations: 1.127 MB / 0.6545 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2031, allocations: 0 / 0.6545 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.2049, allocations: 0.7479 MB / 0.6553 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.2053, allocations: 33.56 kB / 0.6553 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.2183, allocations: 6.085 MB / 0.6613 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2187, allocations: 0.8118 MB / 0.662 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.2189, allocations: 38.95 kB / 0.6621 GB, free: 3.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.2191, allocations: 139.4 kB / 0.6622 GB, free: 3.293 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2191, allocations: 0 / 0.6622 GB, free: 3.293 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.256, allocations: 12.93 MB / 0.6748 GB, free: 6.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.88, allocations: 7.875 kB / 0.6749 GB, free: 6.434 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)