Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.1405/0.1405, 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.001597/0.001597, allocations: 111.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 1.704/1.704, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001496/0.001496, allocations: 184.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.6985/0.6985, allocations: 78.53 MB / 419.3 MB, free: 11.21 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.00255/0.00255, allocations: 147.5 kB / 0.5554 GB, free: 28.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1565, allocations: 68.12 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.007361/0.1639, allocations: 2.786 MB / 0.6246 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1666, allocations: 0.9474 MB / 0.6255 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.167, allocations: 4 kB / 0.6255 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.1676, allocations: 95.27 kB / 0.6256 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007922/0.1684, allocations: 123 kB / 0.6257 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.1702, allocations: 449.9 kB / 0.6262 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008827/0.1711, allocations: 422.3 kB / 0.6266 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.1714, allocations: 81.06 kB / 0.6266 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.1719, allocations: 179.2 kB / 0.6268 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.1725, allocations: 227 kB / 0.627 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1727, allocations: 32 kB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.173, allocations: 87.91 kB / 0.6272 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.1733, allocations: 87.61 kB / 0.6272 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.1736, allocations: 190.9 kB / 0.6274 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009349/0.1746, allocations: 491.7 kB / 0.6279 GB, free: 9.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1746, allocations: 8 kB / 0.6279 GB, free: 9.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1746, allocations: 3.938 kB / 0.6279 GB, free: 9.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.1746, allocations: 0 / 0.6279 GB, free: 9.754 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.005233/0.1799, allocations: 1.017 MB / 0.6289 GB, free: 8.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.18, allocations: 19.98 kB / 0.6289 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.1802, allocations: 58.73 kB / 0.629 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.1835, allocations: 256.2 kB / 0.6292 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009918/0.1845, allocations: 355.8 kB / 0.6295 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.1847, allocations: 83.89 kB / 0.6296 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1849, allocations: 24 kB / 0.6297 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1863, allocations: 368.7 kB / 0.63 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1864, allocations: 0 / 0.63 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.1864, allocations: 15.94 kB / 0.63 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1864, allocations: 4 kB / 0.63 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.1877, allocations: 366.1 kB / 0.6304 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.1905, allocations: 1.018 MB / 0.6314 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.201, allocations: 1.364 MB / 0.6327 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009095/0.2019, allocations: 260.7 kB / 0.6329 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.202, allocations: 4 kB / 0.633 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.2021, allocations: 38.56 kB / 0.633 GB, free: 4.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 4.9e-06/0.2021, allocations: 0 / 0.633 GB, free: 4.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.01218/0.2143, allocations: 1.979 MB / 0.6349 GB, free: 2.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.2144, allocations: 55.41 kB / 0.635 GB, free: 2.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.215, allocations: 320.5 kB / 0.6353 GB, free: 1.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.2151, allocations: 33.7 kB / 0.6353 GB, free: 1.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.2153, allocations: 184.6 kB / 0.6355 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.2155, allocations: 106.4 kB / 0.6356 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.2158, allocations: 57.98 kB / 0.6356 GB, free: 1.512 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.216, allocations: 346.7 kB / 0.636 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009158/0.2169, allocations: 220.4 kB / 0.6362 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/0.2178, allocations: 225 kB / 0.6364 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.2197, allocations: 474.2 kB / 0.6369 GB, free: 272 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2198, allocations: 0 / 0.6369 GB, free: 272 kB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.007788/0.2276, allocations: 1.245 MB / 0.6381 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.2277, allocations: 7.984 kB / 0.6381 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.2277, allocations: 0 / 0.6381 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005744/0.2335, allocations: 0.7633 MB / 0.6388 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.2338, allocations: 23.98 kB / 0.6388 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.2442, allocations: 3.137 MB / 0.6419 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/0.2451, allocations: 51.7 kB / 0.642 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.2452, allocations: 8 kB / 0.642 GB, free: 10.86 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.2455, allocations: 159.1 kB / 0.6421 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.2457, allocations: 31.62 kB / 0.6421 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006936/0.2526, allocations: 1.211 MB / 0.6433 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.2527, allocations: 4 kB / 0.6433 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.2527, allocations: 4 kB / 0.6433 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.2527, allocations: 3.984 kB / 0.6433 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2538, allocations: 0.5166 MB / 0.6438 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.2538, allocations: 7.938 kB / 0.6438 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.2542, allocations: 35.92 kB / 0.6439 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/0.2589, allocations: 0.6698 MB / 0.6445 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.259, allocations: 8.125 kB / 0.6445 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007852/0.2669, allocations: 2.673 MB / 0.6472 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.2669, allocations: 4.031 kB / 0.6472 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007625/0.2746, allocations: 1.582 MB / 0.6487 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.2749, allocations: 116.6 kB / 0.6488 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.275, allocations: 4 kB / 0.6488 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.2758, allocations: 35.95 kB / 0.6489 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.2762, allocations: 87.94 kB / 0.6489 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.2763, allocations: 12 kB / 0.6489 GB, free: 3.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.2767, allocations: 227.1 kB / 0.6492 GB, free: 3.215 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2767, allocations: 0 / 0.6492 GB, free: 3.215 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001063/0.2778, allocations: 139.8 kB / 0.6493 GB, free: 3.078 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.007973/0.2858, allocations: 2.131 MB / 0.6514 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004172/0.29, allocations: 0.9825 MB / 0.6523 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.29, allocations: 0 / 0.6523 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.2928, allocations: 0.7169 MB / 0.653 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.2934, allocations: 27.14 kB / 0.6531 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/0.3212, allocations: 5.644 MB / 0.6586 GB, free: 9.316 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3217, allocations: 0.7911 MB / 0.6594 GB, free: 8.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.322, allocations: 26.28 kB / 0.6594 GB, free: 8.477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.3223, allocations: 115.4 kB / 0.6595 GB, free: 8.363 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3223, allocations: 0 / 0.6595 GB, free: 8.363 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2516/0.5739, allocations: 11.92 MB / 0.6711 GB, free: 12.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.56/27.14, allocations: 11.56 kB / 0.6711 GB, free: 12.52 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)