Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.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 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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001591, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.349/1.349, allocations: 222.9 MB / 239 MB, free: 4.715 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.001385/0.001385, allocations: 200.4 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4952/0.4952, allocations: 91.89 MB / 431.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.88 kB / 0.5014 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 71.26 MB / 0.571 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.005113/0.3551, allocations: 3.226 MB / 0.5741 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3574, allocations: 0.9741 MB / 0.5751 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004173/0.3579, allocations: 2.625 kB / 0.5751 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.3583, allocations: 90.53 kB / 0.5752 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.3588, allocations: 129.2 kB / 0.5753 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.3597, allocations: 421.7 kB / 0.5757 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.3603, allocations: 0.5306 MB / 0.5762 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.3605, allocations: 101.8 kB / 0.5763 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.3608, allocations: 224.1 kB / 0.5765 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.3612, allocations: 292.3 kB / 0.5768 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.3613, allocations: 52.34 kB / 0.5769 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3615, allocations: 101.2 kB / 0.5769 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.3616, allocations: 124.5 kB / 0.5771 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3618, allocations: 237.6 kB / 0.5773 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.3624, allocations: 0.5878 MB / 0.5779 GB, free: 33.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3624, allocations: 0 / 0.5779 GB, free: 33.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3624, allocations: 0 / 0.5779 GB, free: 33.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3624, allocations: 1.906 kB / 0.5779 GB, free: 33.25 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003257/0.3657, allocations: 1.15 MB / 0.579 GB, free: 32.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3657, allocations: 10.88 kB / 0.579 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.3673, allocations: 266.7 kB / 0.5793 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.3678, allocations: 428.5 kB / 0.5797 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.3679, allocations: 87.38 kB / 0.5797 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.368, allocations: 35.03 kB / 0.5798 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.3687, allocations: 411.6 kB / 0.5802 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3688, allocations: 0 / 0.5802 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3688, allocations: 10.72 kB / 0.5802 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3688, allocations: 8.062 kB / 0.5802 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.3695, allocations: 385.6 kB / 0.5806 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.3714, allocations: 1.132 MB / 0.5817 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/0.378, allocations: 1.378 MB / 0.583 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.3785, allocations: 287.2 kB / 0.5833 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.3786, allocations: 4.531 kB / 0.5833 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3786, allocations: 31.47 kB / 0.5833 GB, free: 30.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.455e-06/0.3786, allocations: 0 / 0.5833 GB, free: 30.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006207/0.3848, allocations: 1.987 MB / 0.5853 GB, free: 30.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3849, allocations: 55.97 kB / 0.5853 GB, free: 30.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.3854, allocations: 427.5 kB / 0.5857 GB, free: 29.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.3854, allocations: 29.7 kB / 0.5857 GB, free: 29.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3856, allocations: 210.8 kB / 0.5859 GB, free: 29.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.3857, allocations: 130 kB / 0.5861 GB, free: 29.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.3858, allocations: 57.33 kB / 0.5861 GB, free: 29.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.3859, allocations: 353.2 kB / 0.5865 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.3864, allocations: 241.7 kB / 0.5867 GB, free: 29.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.3868, allocations: 240.7 kB / 0.5869 GB, free: 28.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.3878, allocations: 0.5072 MB / 0.5874 GB, free: 28.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3878, allocations: 0 / 0.5874 GB, free: 28.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00417/0.392, allocations: 1.366 MB / 0.5888 GB, free: 28.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.392, allocations: 9.562 kB / 0.5888 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.392, allocations: 0 / 0.5888 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/0.3955, allocations: 0.8828 MB / 0.5896 GB, free: 28.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.3958, allocations: 39.69 kB / 0.5897 GB, free: 28.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.4022, allocations: 3.397 MB / 0.593 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.4028, allocations: 48.05 kB / 0.593 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.4028, allocations: 13.22 kB / 0.593 GB, free: 25.97 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 (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.0002104/0.403, allocations: 147.7 kB / 0.5932 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.4032, allocations: 48.28 kB / 0.5932 GB, free: 25.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.4069, allocations: 1.231 MB / 0.5944 GB, free: 25.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4069, allocations: 7.781 kB / 0.5944 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4069, allocations: 5.719 kB / 0.5944 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.4069, allocations: 1.094 kB / 0.5944 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.4076, allocations: 0.5511 MB / 0.595 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4076, allocations: 1.656 kB / 0.595 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.4079, allocations: 34.53 kB / 0.595 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.4101, allocations: 0.6333 MB / 0.5956 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.4102, allocations: 11.19 kB / 0.5956 GB, free: 24.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/0.414, allocations: 2.551 MB / 0.5981 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.414, allocations: 3.938 kB / 0.5981 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.4183, allocations: 1.604 MB / 0.5997 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4185, allocations: 126.5 kB / 0.5998 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.4186, allocations: 10.16 kB / 0.5998 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/0.4191, allocations: 32.39 kB / 0.5999 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.4194, allocations: 91.36 kB / 0.6 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.4194, allocations: 7.672 kB / 0.6 GB, free: 22.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003748/0.4198, allocations: 308.2 kB / 0.6003 GB, free: 22.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4198, allocations: 0 / 0.6003 GB, free: 22.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006002/0.4204, allocations: 148.2 kB / 0.6004 GB, free: 22.18 MB / 430.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.0001608/0.4206, allocations: 116.2 kB / 0.6005 GB, free: 22.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.4234, allocations: 1.155 MB / 0.6016 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4235, allocations: 4 kB / 0.6016 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.4251, allocations: 0.7284 MB / 0.6024 GB, free: 21.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.4256, allocations: 34.98 kB / 0.6024 GB, free: 21.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.4273, allocations: 1.127 MB / 0.6035 GB, free: 20.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.4276, allocations: 0.8136 MB / 0.6043 GB, free: 19.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.4278, allocations: 33.56 kB / 0.6043 GB, free: 19.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4279, allocations: 34.42 kB / 0.6043 GB, free: 19.48 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4279, allocations: 0 / 0.6043 GB, free: 19.48 MB / 430.1 MB Notification: Performance of Templates: time 0.01571/0.4436, allocations: 8.574 MB / 0.6127 GB, free: 17.67 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)