Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 250.5 MB, free: 9.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 220.2 kB / 306.7 MB, free: 4.254 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4424/0.4424, allocations: 79.71 MB / 442.5 MB, free: 15.9 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 88.3 kB / 0.5885 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1397, allocations: 73.26 MB / 0.66 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.004299/0.144, allocations: 3.079 MB / 0.663 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1459, allocations: 1.01 MB / 0.664 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.146, allocations: 4 kB / 0.664 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1463, allocations: 95.25 kB / 0.6641 GB, free: 3.797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1466, allocations: 174.8 kB / 0.6643 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.1476, allocations: 428.5 kB / 0.6647 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1482, allocations: 0.5371 MB / 0.6652 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1483, allocations: 73.05 kB / 0.6653 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.1486, allocations: 235 kB / 0.6655 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.149, allocations: 298.7 kB / 0.6658 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.1491, allocations: 48 kB / 0.6658 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1493, allocations: 95.97 kB / 0.6659 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1494, allocations: 119.5 kB / 0.666 GB, free: 1.809 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1496, allocations: 238.6 kB / 0.6663 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.1503, allocations: 0.5874 MB / 0.6668 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1503, allocations: 0 / 0.6668 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1503, allocations: 0 / 0.6668 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1503, allocations: 4 kB / 0.6668 GB, free: 0.9805 MB / 462.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.003534/0.1538, allocations: 1.168 MB / 0.668 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1539, allocations: 12.03 kB / 0.668 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.119e-05/0.1539, allocations: 4.75 kB / 0.668 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.154, allocations: 70.73 kB / 0.6681 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.1557, allocations: 264.4 kB / 0.6683 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.1563, allocations: 442.1 kB / 0.6687 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1564, allocations: 83.95 kB / 0.6688 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.1565, allocations: 24 kB / 0.6689 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.1573, allocations: 408.7 kB / 0.6692 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1574, allocations: 3.938 kB / 0.6692 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.1574, allocations: 12 kB / 0.6693 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1574, allocations: 4 kB / 0.6693 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.1582, allocations: 390 kB / 0.6696 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1603, allocations: 1.131 MB / 0.6707 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006944/0.1672, allocations: 1.348 MB / 0.6721 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/0.1679, allocations: 256.7 kB / 0.6723 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.488e-05/0.1679, allocations: 4 kB / 0.6723 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.168, allocations: 38.5 kB / 0.6723 GB, free: 11.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.284e-06/0.168, allocations: 4 kB / 0.6723 GB, free: 11.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.006849/0.1748, allocations: 1.974 MB / 0.6743 GB, free: 9.121 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1749, allocations: 59.34 kB / 0.6743 GB, free: 9.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.1754, allocations: 429.7 kB / 0.6747 GB, free: 8.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.1755, allocations: 29.7 kB / 0.6748 GB, free: 8.586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1757, allocations: 212.7 kB / 0.675 GB, free: 8.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1758, allocations: 134.9 kB / 0.6751 GB, free: 8.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1759, allocations: 61.48 kB / 0.6752 GB, free: 8.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1761, allocations: 354.8 kB / 0.6755 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.1767, allocations: 243.8 kB / 0.6757 GB, free: 7.578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.1772, allocations: 243.8 kB / 0.676 GB, free: 7.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.1783, allocations: 0.5009 MB / 0.6764 GB, free: 6.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1783, allocations: 4 kB / 0.6765 GB, free: 6.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004625/0.1829, allocations: 1.357 MB / 0.6778 GB, free: 5.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.183, allocations: 8 kB / 0.6778 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.183, allocations: 3.984 kB / 0.6778 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/0.1866, allocations: 0.8796 MB / 0.6786 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1868, allocations: 39.92 kB / 0.6787 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/0.1937, allocations: 3.37 MB / 0.682 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.1943, allocations: 59.73 kB / 0.682 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.1943, allocations: 8 kB / 0.682 GB, free: 0.9453 MB / 478.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.0002184/0.1945, allocations: 145.8 kB / 0.6822 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.1946, allocations: 43.72 kB / 0.6822 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.1987, allocations: 1.237 MB / 0.6834 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1987, allocations: 4 kB / 0.6834 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1987, allocations: 3.984 kB / 0.6834 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1987, allocations: 0 / 0.6834 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/0.1994, allocations: 0.5593 MB / 0.684 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1994, allocations: 3.984 kB / 0.684 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.1997, allocations: 35.92 kB / 0.684 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.2021, allocations: 0.6425 MB / 0.6846 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.2021, allocations: 4 kB / 0.6847 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/0.2067, allocations: 2.545 MB / 0.6871 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2067, allocations: 0 / 0.6871 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/0.2114, allocations: 1.606 MB / 0.6887 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.2116, allocations: 132.8 kB / 0.6888 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.2117, allocations: 4.125 kB / 0.6888 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.2121, allocations: 47.95 kB / 0.6889 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.2124, allocations: 79.88 kB / 0.689 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.2124, allocations: 12 kB / 0.689 GB, free: 9.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004151/0.2128, allocations: 315.1 kB / 0.6893 GB, free: 9.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2128, allocations: 0 / 0.6893 GB, free: 9.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006109/0.2135, allocations: 147.9 kB / 0.6894 GB, free: 9.117 MB / 494.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.005099/0.2186, allocations: 2.153 MB / 0.6915 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003158/0.2217, allocations: 1.108 MB / 0.6926 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2217, allocations: 0 / 0.6926 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.2236, allocations: 0.7361 MB / 0.6933 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.224, allocations: 33.5 kB / 0.6933 GB, free: 4.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2664/0.4904, allocations: 6.048 MB / 0.6993 GB, free: 36.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4907, allocations: 0.8173 MB / 0.7001 GB, free: 35.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4908, allocations: 30.53 kB / 0.7001 GB, free: 35.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.4911, allocations: 140.5 kB / 0.7002 GB, free: 35.75 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4911, allocations: 0 / 0.7002 GB, free: 35.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.5373, allocations: 13.06 MB / 0.713 GB, free: 33.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.16, allocations: 16.84 kB / 0.713 GB, free: 33.66 MB / 494.1 MB " [Timeout remaining time 647] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.369699337054044] Failed to read output from testmodel.py, exit status != 0: 13.315657365019433 13.334513148 13.18087453 Calling exit ...