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.08963/0.08963, allocations: 12.6 MB / 28.1 MB, free: 260 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 111.5 kB / 31.7 MB, free: 3.488 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.26/1.26, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.00147/0.00147, allocations: 188.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.435/0.435, allocations: 78.5 MB / 419.2 MB, free: 11.32 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.002868/0.002869, allocations: 147.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2638, allocations: 68.1 MB / 0.5547 GB, free: 32.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003271/0.2671, allocations: 2.783 MB / 0.5574 GB, free: 30.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2685, allocations: 0.9487 MB / 0.5583 GB, free: 29.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.2687, allocations: 6.688 kB / 0.5583 GB, free: 29.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.269, allocations: 83.36 kB / 0.5584 GB, free: 29.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.2692, allocations: 125.2 kB / 0.5585 GB, free: 29.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.2701, allocations: 435.8 kB / 0.5589 GB, free: 29.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.2705, allocations: 425.7 kB / 0.5594 GB, free: 29.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2706, allocations: 96.19 kB / 0.5594 GB, free: 29.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2708, allocations: 168.6 kB / 0.5596 GB, free: 29.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.2711, allocations: 236 kB / 0.5598 GB, free: 29.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.2711, allocations: 32.19 kB / 0.5599 GB, free: 29.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2713, allocations: 91.16 kB / 0.5599 GB, free: 29.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2714, allocations: 83.42 kB / 0.56 GB, free: 29.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.2715, allocations: 190.7 kB / 0.5602 GB, free: 28.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.272, allocations: 498.2 kB / 0.5607 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.272, allocations: 5.406 kB / 0.5607 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.272, allocations: 0 / 0.5607 GB, free: 28.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.272, allocations: 0 / 0.5607 GB, free: 28.62 MB / 398.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.002793/0.2748, allocations: 1.019 MB / 0.5617 GB, free: 27.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2749, allocations: 22.42 kB / 0.5617 GB, free: 27.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.2749, allocations: 58.45 kB / 0.5618 GB, free: 27.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.2766, allocations: 258.4 kB / 0.562 GB, free: 27.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.2769, allocations: 348.2 kB / 0.5623 GB, free: 27.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.277, allocations: 89.86 kB / 0.5624 GB, free: 27.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.2771, allocations: 22.69 kB / 0.5624 GB, free: 27.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.2778, allocations: 370.5 kB / 0.5628 GB, free: 27.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2778, allocations: 3.984 kB / 0.5628 GB, free: 27.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2778, allocations: 6.438 kB / 0.5628 GB, free: 27.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.2778, allocations: 6 kB / 0.5628 GB, free: 27.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.2785, allocations: 364.8 kB / 0.5632 GB, free: 26.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.2802, allocations: 1.02 MB / 0.5642 GB, free: 26.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.287, allocations: 1.364 MB / 0.5655 GB, free: 25.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.2875, allocations: 260.6 kB / 0.5657 GB, free: 25.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.2876, allocations: 7.281 kB / 0.5657 GB, free: 25.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2876, allocations: 44.69 kB / 0.5658 GB, free: 25.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.2876, allocations: 0 / 0.5658 GB, free: 25.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.006627/0.2942, allocations: 1.979 MB / 0.5677 GB, free: 24.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2943, allocations: 51.41 kB / 0.5678 GB, free: 24.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.2946, allocations: 316.9 kB / 0.5681 GB, free: 23.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.2947, allocations: 31.77 kB / 0.5681 GB, free: 23.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.2948, allocations: 193.1 kB / 0.5683 GB, free: 23.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.2949, allocations: 111.6 kB / 0.5684 GB, free: 23.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.295, allocations: 47.42 kB / 0.5684 GB, free: 23.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.2951, allocations: 350.6 kB / 0.5688 GB, free: 23.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.2956, allocations: 214.4 kB / 0.569 GB, free: 23.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.296, allocations: 225 kB / 0.5692 GB, free: 22.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009083/0.2969, allocations: 473.1 kB / 0.5696 GB, free: 22.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2969, allocations: 1.094 kB / 0.5696 GB, free: 22.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004162/0.3011, allocations: 1.244 MB / 0.5709 GB, free: 22.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3011, allocations: 4.688 kB / 0.5709 GB, free: 22.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3012, allocations: 0 / 0.5709 GB, free: 22.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/0.3043, allocations: 0.7651 MB / 0.5716 GB, free: 21.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.3045, allocations: 27.61 kB / 0.5716 GB, free: 21.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005072/0.3096, allocations: 3.151 MB / 0.5747 GB, free: 18.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.3101, allocations: 47.66 kB / 0.5748 GB, free: 18.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3102, allocations: 8 kB / 0.5748 GB, free: 18.47 MB / 398.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.0001672/0.3103, allocations: 149.7 kB / 0.5749 GB, free: 18.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.3104, allocations: 39.62 kB / 0.5749 GB, free: 18.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.3141, allocations: 1.211 MB / 0.5761 GB, free: 17.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3141, allocations: 8 kB / 0.5761 GB, free: 17.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3141, allocations: 128 / 0.5761 GB, free: 17.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3141, allocations: 0 / 0.5761 GB, free: 17.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.3146, allocations: 0.5205 MB / 0.5766 GB, free: 16.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3146, allocations: 3.938 kB / 0.5767 GB, free: 16.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.3148, allocations: 31.92 kB / 0.5767 GB, free: 16.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.3172, allocations: 0.6776 MB / 0.5773 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3173, allocations: 4 kB / 0.5773 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.3211, allocations: 2.688 MB / 0.58 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3211, allocations: 0 / 0.58 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/0.3253, allocations: 1.574 MB / 0.5815 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.3254, allocations: 124.6 kB / 0.5816 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.3255, allocations: 4.062 kB / 0.5816 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.3259, allocations: 31.95 kB / 0.5817 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.3261, allocations: 87.88 kB / 0.5817 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3262, allocations: 8 kB / 0.5818 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.3264, allocations: 231 kB / 0.582 GB, free: 10.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3264, allocations: 0 / 0.582 GB, free: 10.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.3269, allocations: 143.8 kB / 0.5821 GB, free: 10.67 MB / 398.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.004308/0.3312, allocations: 2.122 MB / 0.5842 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.3335, allocations: 0.9985 MB / 0.5852 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3335, allocations: 4 kB / 0.5852 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.335, allocations: 0.713 MB / 0.5859 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3355, allocations: 31.66 kB / 0.5859 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.3512, allocations: 5.66 MB / 0.5914 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.3514, allocations: 0.7873 MB / 0.5922 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.27e-05/0.3515, allocations: 22.28 kB / 0.5922 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3517, allocations: 111.4 kB / 0.5923 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3517, allocations: 4 kB / 0.5923 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.3843, allocations: 11.36 MB / 0.6034 GB, free: 4.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 15.58 kB / 0.6034 GB, free: 4.688 MB / 414.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)