Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 175 kB / 15.42 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.8 MB / 239 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007862/0.0007862, allocations: 106.6 kB / 289.8 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3048/0.3048, allocations: 78.44 MB / 419 MB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 8 kB / 498.5 MB, free: 35.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 68.74 MB / 0.554 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003591/0.3283, allocations: 3.216 MB / 0.5571 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3297, allocations: 0.9879 MB / 0.5581 GB, free: 7.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.3298, allocations: 3.75 kB / 0.5581 GB, free: 7.863 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3301, allocations: 74.25 kB / 0.5581 GB, free: 7.836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3304, allocations: 134.2 kB / 0.5583 GB, free: 7.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.3313, allocations: 449.7 kB / 0.5587 GB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.3317, allocations: 0.5041 MB / 0.5592 GB, free: 7.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3318, allocations: 82.27 kB / 0.5593 GB, free: 7.191 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.3321, allocations: 205.2 kB / 0.5595 GB, free: 7.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.3324, allocations: 265.5 kB / 0.5597 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.3325, allocations: 24.16 kB / 0.5597 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.3327, allocations: 78.11 kB / 0.5598 GB, free: 6.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.3327, allocations: 98.89 kB / 0.5599 GB, free: 6.906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3329, allocations: 210.5 kB / 0.5601 GB, free: 6.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.3335, allocations: 0.561 MB / 0.5607 GB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3335, allocations: 0 / 0.5607 GB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3335, allocations: 0 / 0.5607 GB, free: 6.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3335, allocations: 1.219 kB / 0.5607 GB, free: 6.566 MB / 378.7 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.003036/0.3366, allocations: 1.063 MB / 0.5617 GB, free: 5.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3366, allocations: 9.625 kB / 0.5617 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.142e-05/0.3367, allocations: 66.59 kB / 0.5618 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.3383, allocations: 272.6 kB / 0.562 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.3388, allocations: 430.3 kB / 0.5624 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.3389, allocations: 86.53 kB / 0.5625 GB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.339, allocations: 32 kB / 0.5626 GB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.3398, allocations: 407.8 kB / 0.5629 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3398, allocations: 4 kB / 0.5629 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.3399, allocations: 10.28 kB / 0.563 GB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3399, allocations: 11.03 kB / 0.563 GB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.3407, allocations: 390.1 kB / 0.5633 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.3426, allocations: 1.129 MB / 0.5644 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006604/0.3492, allocations: 1.368 MB / 0.5658 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.3499, allocations: 288 kB / 0.5661 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.108e-05/0.3499, allocations: 8.203 kB / 0.5661 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.35, allocations: 37.44 kB / 0.5661 GB, free: 4.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.35, allocations: 0 / 0.5661 GB, free: 4.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.006295/0.3563, allocations: 1.983 MB / 0.568 GB, free: 3.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.3563, allocations: 59.47 kB / 0.5681 GB, free: 3.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.357, allocations: 421.7 kB / 0.5685 GB, free: 3.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.357, allocations: 30.98 kB / 0.5685 GB, free: 3.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3571, allocations: 216.1 kB / 0.5687 GB, free: 2.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3572, allocations: 126.8 kB / 0.5688 GB, free: 2.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3573, allocations: 37.62 kB / 0.5689 GB, free: 2.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.3574, allocations: 353 kB / 0.5692 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.3579, allocations: 240.7 kB / 0.5695 GB, free: 2.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.3584, allocations: 243 kB / 0.5697 GB, free: 2.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.3594, allocations: 0.5045 MB / 0.5702 GB, free: 2.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3594, allocations: 0 / 0.5702 GB, free: 2.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004312/0.3637, allocations: 1.365 MB / 0.5715 GB, free: 1.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3638, allocations: 8.781 kB / 0.5715 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3638, allocations: 5.219 kB / 0.5715 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/0.3672, allocations: 0.8752 MB / 0.5724 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.3675, allocations: 42.64 kB / 0.5724 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/0.3731, allocations: 3.112 MB / 0.5755 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.3736, allocations: 52.86 kB / 0.5755 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.3737, allocations: 10.84 kB / 0.5755 GB, free: 15.11 MB / 394.7 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.000216/0.3739, allocations: 149.7 kB / 0.5757 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.374, allocations: 47.84 kB / 0.5757 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.3777, allocations: 1.227 MB / 0.5769 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.3777, allocations: 3.094 kB / 0.5769 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3777, allocations: 3.5 kB / 0.5769 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3777, allocations: 4 kB / 0.5769 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.3785, allocations: 0.5483 MB / 0.5774 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3785, allocations: 1.5 kB / 0.5775 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.3788, allocations: 45.59 kB / 0.5775 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/0.3809, allocations: 0.6324 MB / 0.5781 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.381, allocations: 5.875 kB / 0.5781 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.3847, allocations: 2.345 MB / 0.5804 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3847, allocations: 0 / 0.5804 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/0.389, allocations: 1.609 MB / 0.582 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3893, allocations: 135.6 kB / 0.5821 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.3893, allocations: 6.531 kB / 0.5821 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.3898, allocations: 45.3 kB / 0.5822 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.3901, allocations: 82 kB / 0.5822 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.3901, allocations: 9.875 kB / 0.5822 GB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003899/0.3905, allocations: 304.3 kB / 0.5825 GB, free: 10.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3905, allocations: 0 / 0.5825 GB, free: 10.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.3911, allocations: 147.3 kB / 0.5827 GB, free: 10.24 MB / 394.7 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.004466/0.3956, allocations: 2.168 MB / 0.5848 GB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.3983, allocations: 1.116 MB / 0.5859 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3983, allocations: 0 / 0.5859 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.3999, allocations: 0.7369 MB / 0.5866 GB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.4004, allocations: 41.17 kB / 0.5866 GB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.4133, allocations: 6.263 MB / 0.5928 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4137, allocations: 0.8157 MB / 0.5936 GB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.4139, allocations: 26.97 kB / 0.5936 GB, free: 1.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.4141, allocations: 143.4 kB / 0.5937 GB, free: 1.777 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4141, allocations: 4 kB / 0.5937 GB, free: 1.773 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.4383, allocations: 11.59 MB / 0.605 GB, free: 6.402 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.4386, allocations: 263.3 kB / 0.6053 GB, free: 6.141 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.736, allocations: 3.938 kB / 0.6053 GB, free: 6.137 MB / 410.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)