Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007605/0.0007604, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 239.3 MB, free: 5.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 180.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3978/0.3978, allocations: 78.56 MB / 420.3 MB, free: 4.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 8 kB / 0.4888 GB, free: 5.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1032, allocations: 69.36 MB / 0.5565 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.1826/0.2858, allocations: 2.555 MB / 0.559 GB, free: 38.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.287, allocations: 0.9007 MB / 0.5599 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2871, allocations: 4.688 kB / 0.5599 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.2873, allocations: 73.7 kB / 0.5599 GB, free: 37.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.2875, allocations: 96.75 kB / 0.56 GB, free: 37.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.2882, allocations: 416.9 kB / 0.5604 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.2885, allocations: 404.9 kB / 0.5608 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2887, allocations: 75.02 kB / 0.5609 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2888, allocations: 150.6 kB / 0.561 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.289, allocations: 210.6 kB / 0.5612 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.289, allocations: 16.88 kB / 0.5612 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.2892, allocations: 74.69 kB / 0.5613 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.2892, allocations: 68.59 kB / 0.5614 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2893, allocations: 201 kB / 0.5616 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.2897, allocations: 466.5 kB / 0.562 GB, free: 37.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2897, allocations: 0.5625 kB / 0.562 GB, free: 37.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2897, allocations: 1.781 kB / 0.562 GB, free: 37.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2897, allocations: 2.156 kB / 0.562 GB, free: 37.48 MB / 430.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.002381/0.2921, allocations: 0.9783 MB / 0.563 GB, free: 36.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2921, allocations: 10.81 kB / 0.563 GB, free: 36.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.2922, allocations: 61.95 kB / 0.5631 GB, free: 36.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2936, allocations: 263 kB / 0.5633 GB, free: 36.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.2939, allocations: 351.9 kB / 0.5636 GB, free: 36.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.294, allocations: 88.84 kB / 0.5637 GB, free: 36.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.2941, allocations: 25.53 kB / 0.5637 GB, free: 36.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.2947, allocations: 390.8 kB / 0.5641 GB, free: 36.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2947, allocations: 2.969 kB / 0.5641 GB, free: 36.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.2948, allocations: 7.875 kB / 0.5641 GB, free: 36.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2948, allocations: 7.094 kB / 0.5641 GB, free: 36.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.2954, allocations: 388.4 kB / 0.5645 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2969, allocations: 1.057 MB / 0.5655 GB, free: 36.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006536/0.3035, allocations: 1.832 MB / 0.5673 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.3039, allocations: 282.6 kB / 0.5676 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.304, allocations: 7.75 kB / 0.5676 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.304, allocations: 42.27 kB / 0.5676 GB, free: 36.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.383e-06/0.304, allocations: 0 / 0.5676 GB, free: 36.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006337/0.3103, allocations: 2.387 MB / 0.57 GB, free: 35.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.3104, allocations: 57.67 kB / 0.57 GB, free: 35.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3106, allocations: 322.5 kB / 0.5703 GB, free: 35.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3106, allocations: 29.2 kB / 0.5704 GB, free: 35.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3107, allocations: 190.8 kB / 0.5706 GB, free: 35.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.3108, allocations: 100.4 kB / 0.5706 GB, free: 35.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.3108, allocations: 28.59 kB / 0.5707 GB, free: 35.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.3109, allocations: 351.6 kB / 0.571 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.3113, allocations: 245.2 kB / 0.5712 GB, free: 34.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.3118, allocations: 244.8 kB / 0.5715 GB, free: 34.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.3126, allocations: 0.5154 MB / 0.572 GB, free: 34.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3126, allocations: 0 / 0.572 GB, free: 34.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003875/0.3165, allocations: 1.495 MB / 0.5734 GB, free: 34.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3165, allocations: 13.22 kB / 0.5735 GB, free: 34.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3165, allocations: 2.594 kB / 0.5735 GB, free: 34.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/0.3195, allocations: 0.8848 MB / 0.5743 GB, free: 34.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3196, allocations: 28.09 kB / 0.5743 GB, free: 34.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004561/0.3242, allocations: 3.056 MB / 0.5773 GB, free: 33.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.3247, allocations: 68.17 kB / 0.5774 GB, free: 33.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3247, allocations: 9.969 kB / 0.5774 GB, free: 33.34 MB / 430.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.0001311/0.3248, allocations: 142.7 kB / 0.5775 GB, free: 33.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.3249, allocations: 42.2 kB / 0.5776 GB, free: 33.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.3287, allocations: 1.451 MB / 0.579 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3287, allocations: 3.719 kB / 0.579 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3287, allocations: 1.812 kB / 0.579 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3287, allocations: 4.172 kB / 0.579 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.3292, allocations: 0.5143 MB / 0.5795 GB, free: 32.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3292, allocations: 4.5 kB / 0.5795 GB, free: 32.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.3294, allocations: 32.59 kB / 0.5795 GB, free: 32.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/0.332, allocations: 0.7997 MB / 0.5803 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.3321, allocations: 8.625 kB / 0.5803 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003787/0.3359, allocations: 2.648 MB / 0.5829 GB, free: 31.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3359, allocations: 0 / 0.5829 GB, free: 31.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.3403, allocations: 1.836 MB / 0.5847 GB, free: 31.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.3403, allocations: 120 kB / 0.5848 GB, free: 30.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3404, allocations: 13.25 kB / 0.5848 GB, free: 30.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3408, allocations: 52.06 kB / 0.5849 GB, free: 30.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.341, allocations: 81.41 kB / 0.585 GB, free: 30.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.341, allocations: 9.5 kB / 0.585 GB, free: 30.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.3412, allocations: 234.2 kB / 0.5852 GB, free: 30.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3412, allocations: 0 / 0.5852 GB, free: 30.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.3417, allocations: 137.1 kB / 0.5853 GB, free: 30.73 MB / 430.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.004578/0.3463, allocations: 2.386 MB / 0.5877 GB, free: 29.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.3485, allocations: 1.084 MB / 0.5887 GB, free: 29.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3486, allocations: 0 / 0.5887 GB, free: 29.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.3501, allocations: 0.8089 MB / 0.5895 GB, free: 28.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3505, allocations: 35.31 kB / 0.5895 GB, free: 28.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.3659, allocations: 6.316 MB / 0.5957 GB, free: 25.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.366, allocations: 0.7887 MB / 0.5965 GB, free: 25.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.3661, allocations: 18.81 kB / 0.5965 GB, free: 25.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3663, allocations: 108.3 kB / 0.5966 GB, free: 25.04 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3663, allocations: 0 / 0.5966 GB, free: 25.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.3873, allocations: 10.28 MB / 0.6066 GB, free: 24.23 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/0.3875, allocations: 247.2 kB / 0.6069 GB, free: 23.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.078, allocations: 0 / 0.6069 GB, free: 23.97 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)