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.08612/0.08612, allocations: 12.6 MB / 28.1 MB, free: 184 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.00106/0.00106, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.28/1.28, 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.00123/0.00123, 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.4643/0.4643, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.002968/0.002968, allocations: 141 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.274, allocations: 68.11 MB / 0.5547 GB, free: 32.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003561/0.2776, allocations: 2.98 MB / 0.5576 GB, free: 30.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.279, allocations: 0.9992 MB / 0.5586 GB, free: 29.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.2791, allocations: 3.781 kB / 0.5586 GB, free: 29.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.2794, allocations: 97.17 kB / 0.5587 GB, free: 29.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.2797, allocations: 147.1 kB / 0.5588 GB, free: 29.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.2806, allocations: 465.1 kB / 0.5593 GB, free: 29.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.281, allocations: 0.4989 MB / 0.5597 GB, free: 29.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.2813, allocations: 100.5 kB / 0.5598 GB, free: 29.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2815, allocations: 209 kB / 0.56 GB, free: 28.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.2819, allocations: 279.9 kB / 0.5603 GB, free: 28.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.282, allocations: 43.19 kB / 0.5603 GB, free: 28.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.2821, allocations: 99.84 kB / 0.5604 GB, free: 28.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.2822, allocations: 112.1 kB / 0.5605 GB, free: 28.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.2824, allocations: 224 kB / 0.5608 GB, free: 28.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.2829, allocations: 0.5659 MB / 0.5613 GB, free: 28.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2829, allocations: 1.375 kB / 0.5613 GB, free: 28.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2829, allocations: 0 / 0.5613 GB, free: 28.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2829, allocations: 0 / 0.5613 GB, free: 28.14 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003136/0.286, allocations: 1.116 MB / 0.5624 GB, free: 27.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2861, allocations: 13.14 kB / 0.5624 GB, free: 27.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.2862, allocations: 70.88 kB / 0.5625 GB, free: 27.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.2878, allocations: 265.5 kB / 0.5627 GB, free: 27.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.2883, allocations: 411.6 kB / 0.5631 GB, free: 26.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2884, allocations: 86.09 kB / 0.5632 GB, free: 26.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.2885, allocations: 29.8 kB / 0.5632 GB, free: 26.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.2892, allocations: 396.3 kB / 0.5636 GB, free: 26.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2892, allocations: 1.5 kB / 0.5636 GB, free: 26.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.2893, allocations: 9.406 kB / 0.5636 GB, free: 26.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2893, allocations: 6.75 kB / 0.5636 GB, free: 26.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.29, allocations: 396.3 kB / 0.564 GB, free: 26.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2918, allocations: 1.104 MB / 0.5651 GB, free: 25.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006613/0.2984, allocations: 1.373 MB / 0.5664 GB, free: 24.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.2989, allocations: 275.7 kB / 0.5667 GB, free: 24.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.299, allocations: 4.875 kB / 0.5667 GB, free: 24.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.299, allocations: 35.75 kB / 0.5667 GB, free: 24.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.299, allocations: 0 / 0.5667 GB, free: 24.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.005983/0.305, allocations: 1.963 MB / 0.5686 GB, free: 23.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.3051, allocations: 58.25 kB / 0.5687 GB, free: 23.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.3055, allocations: 395.2 kB / 0.5691 GB, free: 23.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3055, allocations: 40.3 kB / 0.5691 GB, free: 23.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.3056, allocations: 203.9 kB / 0.5693 GB, free: 22.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.3057, allocations: 124.8 kB / 0.5694 GB, free: 22.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3058, allocations: 55.56 kB / 0.5695 GB, free: 22.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.3059, allocations: 347.8 kB / 0.5698 GB, free: 22.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.3064, allocations: 232.6 kB / 0.57 GB, free: 22.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.3069, allocations: 231.2 kB / 0.5703 GB, free: 22.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.3078, allocations: 492.9 kB / 0.5707 GB, free: 22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3079, allocations: 0 / 0.5707 GB, free: 22 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003928/0.3118, allocations: 1.276 MB / 0.572 GB, free: 21.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3118, allocations: 5.438 kB / 0.572 GB, free: 21.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3118, allocations: 0 / 0.572 GB, free: 21.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.3147, allocations: 0.7703 MB / 0.5727 GB, free: 20.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3149, allocations: 39.98 kB / 0.5728 GB, free: 20.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.32, allocations: 3.108 MB / 0.5758 GB, free: 17.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.3204, allocations: 51.69 kB / 0.5759 GB, free: 17.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3205, allocations: 15.94 kB / 0.5759 GB, free: 17.34 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 (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.0001522/0.3206, allocations: 153.8 kB / 0.576 GB, free: 17.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.3207, allocations: 43.38 kB / 0.5761 GB, free: 17.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.3241, allocations: 1.206 MB / 0.5772 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3241, allocations: 4 kB / 0.5772 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3241, allocations: 7.875 kB / 0.5773 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3242, allocations: 0 / 0.5773 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.3246, allocations: 0.5323 MB / 0.5778 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3246, allocations: 4 kB / 0.5778 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3249, allocations: 35.97 kB / 0.5778 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.3269, allocations: 0.6269 MB / 0.5784 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.3269, allocations: 8 kB / 0.5784 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.3305, allocations: 2.56 MB / 0.5809 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3305, allocations: 0 / 0.5809 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.3344, allocations: 1.578 MB / 0.5825 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.3345, allocations: 128.6 kB / 0.5826 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.3346, allocations: 7.938 kB / 0.5826 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.335, allocations: 31.91 kB / 0.5826 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.3353, allocations: 95.86 kB / 0.5827 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3353, allocations: 12 kB / 0.5827 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3355, allocations: 291.2 kB / 0.583 GB, free: 9.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3355, allocations: 0 / 0.583 GB, free: 9.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.336, allocations: 139.8 kB / 0.5831 GB, free: 9.621 MB / 398.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.004055/0.3401, allocations: 2.133 MB / 0.5852 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.3426, allocations: 1.093 MB / 0.5863 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3426, allocations: 7.938 kB / 0.5863 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.3441, allocations: 0.7246 MB / 0.587 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3445, allocations: 37.48 kB / 0.587 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3552, allocations: 5.722 MB / 0.5926 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3556, allocations: 0.8072 MB / 0.5934 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.3557, allocations: 34.91 kB / 0.5935 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3559, allocations: 139.4 kB / 0.5936 GB, free: 14.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3559, allocations: 0 / 0.5936 GB, free: 14.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.3945, allocations: 12.04 MB / 0.6053 GB, free: 2.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.71, allocations: 26.05 kB / 0.6054 GB, free: 2.727 MB / 414.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)