Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0772/0.0772, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001286/0.001286, allocations: 115.4 kB / 31.84 MB, free: 3.895 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.196/1.196, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001189/0.001189, allocations: 183.4 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.4048/0.4048, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.002469/0.002469, allocations: 147.1 kB / 0.5554 GB, free: 28.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.1004, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003358/0.1038, allocations: 2.985 MB / 0.6248 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1052, allocations: 0.9987 MB / 0.6258 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1053, allocations: 4 kB / 0.6258 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1056, allocations: 99.25 kB / 0.6259 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1058, allocations: 162.9 kB / 0.626 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.1067, allocations: 459.8 kB / 0.6265 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.1071, allocations: 0.5136 MB / 0.627 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1073, allocations: 89.06 kB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1075, allocations: 211.1 kB / 0.6273 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.1078, allocations: 274.8 kB / 0.6275 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.1079, allocations: 48 kB / 0.6276 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1081, allocations: 95.97 kB / 0.6277 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.1082, allocations: 123.4 kB / 0.6278 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1083, allocations: 222.8 kB / 0.628 GB, free: 9.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.1088, allocations: 0.5658 MB / 0.6285 GB, free: 9.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1088, allocations: 0 / 0.6285 GB, free: 9.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1089, allocations: 0 / 0.6285 GB, free: 9.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1089, allocations: 0 / 0.6285 GB, free: 9.082 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.002987/0.1119, allocations: 1.118 MB / 0.6296 GB, free: 7.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1119, allocations: 11.98 kB / 0.6296 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.112, allocations: 62.73 kB / 0.6297 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.1135, allocations: 272 kB / 0.63 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.114, allocations: 402.1 kB / 0.6303 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.1141, allocations: 87.89 kB / 0.6304 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.1141, allocations: 24 kB / 0.6305 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.1149, allocations: 400.7 kB / 0.6308 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1149, allocations: 0 / 0.6308 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.1149, allocations: 19.94 kB / 0.6309 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1149, allocations: 8 kB / 0.6309 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.1156, allocations: 386 kB / 0.6312 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1174, allocations: 1.076 MB / 0.6323 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/0.1235, allocations: 1.389 MB / 0.6336 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.124, allocations: 272.7 kB / 0.6339 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.1241, allocations: 11.98 kB / 0.6339 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1241, allocations: 46.44 kB / 0.634 GB, free: 3.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.1241, allocations: 0 / 0.634 GB, free: 3.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.005671/0.1298, allocations: 1.959 MB / 0.6359 GB, free: 1.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1299, allocations: 59.34 kB / 0.6359 GB, free: 1.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.1303, allocations: 393.7 kB / 0.6363 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.1303, allocations: 37.64 kB / 0.6363 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1304, allocations: 204.5 kB / 0.6365 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.559e-05/0.1305, allocations: 122.2 kB / 0.6366 GB, free: 488 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1307, allocations: 62.02 kB / 0.6367 GB, free: 416 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1308, allocations: 354.8 kB / 0.637 GB, free: 52 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.1313, allocations: 228.6 kB / 0.6373 GB, free: 15.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.1317, allocations: 225.2 kB / 0.6375 GB, free: 15.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.1326, allocations: 498.9 kB / 0.638 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1327, allocations: 4 kB / 0.638 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003656/0.1363, allocations: 1.279 MB / 0.6392 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1363, allocations: 4 kB / 0.6392 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1364, allocations: 4 kB / 0.6392 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.1391, allocations: 0.7666 MB / 0.64 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1393, allocations: 39.97 kB / 0.64 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.1445, allocations: 3.108 MB / 0.643 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.145, allocations: 47.66 kB / 0.6431 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.145, allocations: 8 kB / 0.6431 GB, free: 9.695 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.1452, allocations: 157.6 kB / 0.6432 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.1452, allocations: 39.47 kB / 0.6433 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/0.1486, allocations: 1.21 MB / 0.6445 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1486, allocations: 8 kB / 0.6445 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1486, allocations: 3.938 kB / 0.6445 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1486, allocations: 0 / 0.6445 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.1491, allocations: 0.5282 MB / 0.645 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1491, allocations: 4 kB / 0.645 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1494, allocations: 39.92 kB / 0.645 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.1514, allocations: 0.6229 MB / 0.6456 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.1514, allocations: 8 kB / 0.6456 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.1551, allocations: 2.556 MB / 0.6481 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1551, allocations: 4 kB / 0.6481 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.1589, allocations: 1.586 MB / 0.6497 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.159, allocations: 124.6 kB / 0.6498 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.159, allocations: 11.94 kB / 0.6498 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.1594, allocations: 27.97 kB / 0.6498 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.1596, allocations: 87.88 kB / 0.6499 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.1597, allocations: 8 kB / 0.6499 GB, free: 2.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.16, allocations: 291.2 kB / 0.6502 GB, free: 2.121 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.16, allocations: 0 / 0.6502 GB, free: 2.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.1604, allocations: 147.8 kB / 0.6504 GB, free: 1.977 MB / 462.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 (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.004019/0.1645, allocations: 2.131 MB / 0.6524 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.1669, allocations: 1.081 MB / 0.6535 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1669, allocations: 0 / 0.6535 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.1684, allocations: 0.7246 MB / 0.6542 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1687, allocations: 37.78 kB / 0.6542 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.1794, allocations: 5.69 MB / 0.6598 GB, free: 8.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1797, allocations: 0.8072 MB / 0.6606 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1799, allocations: 30.97 kB / 0.6606 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.1801, allocations: 135.4 kB / 0.6607 GB, free: 7.07 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1801, allocations: 0 / 0.6607 GB, free: 7.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.2153, allocations: 12.19 MB / 0.6726 GB, free: 11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.01, allocations: 11.19 kB / 0.6727 GB, free: 10.99 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)