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.1447/0.1447, 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.001749/0.001749, allocations: 107.4 kB / 31.83 MB, free: 3.898 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.138/2.138, 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.002245/0.002246, 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.5233/0.5233, allocations: 78.52 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.002626/0.002626, allocations: 142.4 kB / 0.5554 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1661, allocations: 68.12 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.0056/0.1718, allocations: 2.989 MB / 0.6248 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1745, allocations: 1.006 MB / 0.6258 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.175, allocations: 4 kB / 0.6258 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.1754, allocations: 95.27 kB / 0.6259 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.1761, allocations: 142.9 kB / 0.626 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.178, allocations: 474.2 kB / 0.6265 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1791, allocations: 0.5059 MB / 0.627 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.1795, allocations: 85.06 kB / 0.627 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.1802, allocations: 207.1 kB / 0.6272 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008642/0.1811, allocations: 286.8 kB / 0.6275 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.1813, allocations: 44 kB / 0.6275 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.1819, allocations: 99.97 kB / 0.6276 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.1822, allocations: 111.5 kB / 0.6278 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000601/0.1828, allocations: 226.7 kB / 0.628 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.1843, allocations: 0.558 MB / 0.6285 GB, free: 9.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1843, allocations: 0 / 0.6285 GB, free: 9.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1843, allocations: 0 / 0.6285 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.649e-05/0.1844, allocations: 0 / 0.6285 GB, free: 9.133 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.006232/0.1906, allocations: 1.122 MB / 0.6296 GB, free: 7.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.804e-05/0.1907, allocations: 11.98 kB / 0.6296 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.191, allocations: 74.66 kB / 0.6297 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/0.194, allocations: 264 kB / 0.6299 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1951, allocations: 402.2 kB / 0.6303 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.1953, allocations: 95.89 kB / 0.6304 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1954, allocations: 24 kB / 0.6304 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1968, allocations: 396.7 kB / 0.6308 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1968, allocations: 0 / 0.6308 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.1969, allocations: 15.94 kB / 0.6308 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1969, allocations: 8 kB / 0.6308 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.1983, allocations: 390 kB / 0.6312 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.2011, allocations: 1.08 MB / 0.6323 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/0.2083, allocations: 1.381 MB / 0.6336 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.209, allocations: 284.7 kB / 0.6339 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.209, allocations: 7.984 kB / 0.6339 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2091, allocations: 38.44 kB / 0.6339 GB, free: 3.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.226e-06/0.2091, allocations: 3.938 kB / 0.6339 GB, free: 3.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006973/0.2161, allocations: 1.959 MB / 0.6358 GB, free: 1.348 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.2162, allocations: 59.34 kB / 0.6359 GB, free: 1.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.2168, allocations: 397.7 kB / 0.6363 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.2169, allocations: 37.7 kB / 0.6363 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.217, allocations: 200.5 kB / 0.6365 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.2172, allocations: 126.2 kB / 0.6366 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.2174, allocations: 54.03 kB / 0.6367 GB, free: 460 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2175, allocations: 354.8 kB / 0.637 GB, free: 96 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.2181, allocations: 228.6 kB / 0.6372 GB, free: 15.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.2187, allocations: 233.2 kB / 0.6375 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.2198, allocations: 494.8 kB / 0.6379 GB, free: 15.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2198, allocations: 4 kB / 0.6379 GB, free: 15.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004377/0.2242, allocations: 1.275 MB / 0.6392 GB, free: 13.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.2242, allocations: 10.97 kB / 0.6392 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2242, allocations: 0 / 0.6392 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.2275, allocations: 0.7667 MB / 0.6399 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2278, allocations: 43.92 kB / 0.64 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.2346, allocations: 3.1 MB / 0.643 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.2353, allocations: 47.66 kB / 0.6431 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.2353, allocations: 12 kB / 0.6431 GB, free: 9.738 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.0002572/0.2356, allocations: 157.7 kB / 0.6432 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2358, allocations: 43.41 kB / 0.6433 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.2397, allocations: 1.206 MB / 0.6444 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.2398, allocations: 4 kB / 0.6444 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.2398, allocations: 3.938 kB / 0.6444 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.2398, allocations: 0 / 0.6444 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.2408, allocations: 0.5438 MB / 0.645 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.2408, allocations: 0 / 0.645 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.2411, allocations: 31.98 kB / 0.645 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.2435, allocations: 0.6268 MB / 0.6456 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.2436, allocations: 8 kB / 0.6456 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/0.2481, allocations: 2.556 MB / 0.6481 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2482, allocations: 4 kB / 0.6481 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/0.2528, allocations: 1.582 MB / 0.6497 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.2531, allocations: 120.6 kB / 0.6498 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.2532, allocations: 11.94 kB / 0.6498 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.2537, allocations: 27.97 kB / 0.6498 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.254, allocations: 91.86 kB / 0.6499 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.254, allocations: 12 kB / 0.6499 GB, free: 2.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003833/0.2544, allocations: 291.2 kB / 0.6502 GB, free: 2.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2544, allocations: 4 kB / 0.6502 GB, free: 2.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.255, allocations: 143.8 kB / 0.6503 GB, free: 2.016 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.005018/0.2601, allocations: 2.119 MB / 0.6524 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.2632, allocations: 1.088 MB / 0.6535 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2632, allocations: 0 / 0.6535 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.2651, allocations: 0.7248 MB / 0.6542 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.2656, allocations: 45.48 kB / 0.6542 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.2808, allocations: 5.682 MB / 0.6598 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.2813, allocations: 0.8072 MB / 0.6606 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.2815, allocations: 34.95 kB / 0.6606 GB, free: 7.242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.2817, allocations: 131.4 kB / 0.6607 GB, free: 7.113 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2817, allocations: 0 / 0.6607 GB, free: 7.113 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.12/8.402, allocations: 12.65 MB / 0.6731 GB, free: 10.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.07/31.47, allocations: 15.12 kB / 0.6731 GB, free: 10.56 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)