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/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/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09448/0.09448, allocations: 12.2 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 120.2 kB / 30.94 MB, free: 4.664 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.431/1.431, allocations: 205.1 MB / 239.4 MB, free: 10.92 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.001509/0.001509, allocations: 192.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4662/0.4662, allocations: 78.5 MB / 418.1 MB, free: 31.73 MB / 318.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.002854/0.002854, allocations: 127.8 kB / 498.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4324, allocations: 68.03 MB / 0.5532 GB, free: 37.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003791/0.4362, allocations: 3.149 MB / 0.5562 GB, free: 35.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.4378, allocations: 0.9993 MB / 0.5572 GB, free: 34.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.4379, allocations: 2.938 kB / 0.5572 GB, free: 34.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.4382, allocations: 82.17 kB / 0.5573 GB, free: 34.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.4385, allocations: 124.1 kB / 0.5574 GB, free: 34.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.4394, allocations: 427.2 kB / 0.5578 GB, free: 34.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.4398, allocations: 0.5084 MB / 0.5583 GB, free: 34.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.44, allocations: 94.06 kB / 0.5584 GB, free: 34.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.4402, allocations: 210 kB / 0.5586 GB, free: 34.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.4405, allocations: 280.2 kB / 0.5589 GB, free: 33.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.4406, allocations: 46.59 kB / 0.5589 GB, free: 33.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.4407, allocations: 100.5 kB / 0.559 GB, free: 33.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.654e-05/0.4408, allocations: 117.2 kB / 0.5591 GB, free: 33.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.441, allocations: 218.2 kB / 0.5593 GB, free: 33.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.4414, allocations: 0.5616 MB / 0.5599 GB, free: 33.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4414, allocations: 0 / 0.5599 GB, free: 33.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4415, allocations: 0 / 0.5599 GB, free: 33.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.4415, allocations: 0 / 0.5599 GB, free: 33.43 MB / 414.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.003063/0.4445, allocations: 1.122 MB / 0.561 GB, free: 32.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4446, allocations: 15.39 kB / 0.561 GB, free: 32.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.4461, allocations: 265.8 kB / 0.5612 GB, free: 32.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.4466, allocations: 406.3 kB / 0.5616 GB, free: 32.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.4467, allocations: 87.34 kB / 0.5617 GB, free: 32.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.4468, allocations: 29.47 kB / 0.5617 GB, free: 32.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.4475, allocations: 395.6 kB / 0.5621 GB, free: 32.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4475, allocations: 2.844 kB / 0.5621 GB, free: 32.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.4475, allocations: 11.94 kB / 0.5621 GB, free: 32.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4475, allocations: 6.094 kB / 0.5621 GB, free: 32.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.4482, allocations: 390.3 kB / 0.5625 GB, free: 32.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.4501, allocations: 1.103 MB / 0.5636 GB, free: 31.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006191/0.4563, allocations: 1.375 MB / 0.5649 GB, free: 31.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.4568, allocations: 273.4 kB / 0.5652 GB, free: 31.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.4569, allocations: 6.438 kB / 0.5652 GB, free: 31.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.4569, allocations: 44.44 kB / 0.5652 GB, free: 31.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.903e-06/0.4569, allocations: 0 / 0.5652 GB, free: 31.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.005684/0.4626, allocations: 1.959 MB / 0.5672 GB, free: 30.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4627, allocations: 60.66 kB / 0.5672 GB, free: 30.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.4631, allocations: 398.7 kB / 0.5676 GB, free: 30.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.4632, allocations: 29.7 kB / 0.5676 GB, free: 30.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4633, allocations: 207.1 kB / 0.5678 GB, free: 29.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.4635, allocations: 126.5 kB / 0.5679 GB, free: 29.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4636, allocations: 60.92 kB / 0.568 GB, free: 29.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.4637, allocations: 348.6 kB / 0.5683 GB, free: 29.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.4641, allocations: 231.7 kB / 0.5686 GB, free: 29.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.4646, allocations: 226.4 kB / 0.5688 GB, free: 29.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/0.4655, allocations: 497 kB / 0.5692 GB, free: 29.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4655, allocations: 3.938 kB / 0.5692 GB, free: 29.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0037/0.4692, allocations: 1.276 MB / 0.5705 GB, free: 28.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.4692, allocations: 12.78 kB / 0.5705 GB, free: 28.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4692, allocations: 0 / 0.5705 GB, free: 28.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/0.4722, allocations: 0.7702 MB / 0.5713 GB, free: 28.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.4725, allocations: 45.58 kB / 0.5713 GB, free: 28.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/0.4779, allocations: 3.1 MB / 0.5743 GB, free: 26.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.4785, allocations: 50.12 kB / 0.5744 GB, free: 26.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.4786, allocations: 11.47 kB / 0.5744 GB, free: 26.39 MB / 414.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.0002404/0.4788, allocations: 150.2 kB / 0.5745 GB, free: 26.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.4789, allocations: 38.44 kB / 0.5746 GB, free: 26.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.4828, allocations: 1.205 MB / 0.5757 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4828, allocations: 3.312 kB / 0.5757 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4829, allocations: 6.828 kB / 0.5758 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4829, allocations: 6.781 kB / 0.5758 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007145/0.4836, allocations: 0.5356 MB / 0.5763 GB, free: 25.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4836, allocations: 5.109 kB / 0.5763 GB, free: 25.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.4839, allocations: 43.19 kB / 0.5763 GB, free: 25.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.4861, allocations: 0.6242 MB / 0.5769 GB, free: 25.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.4862, allocations: 9.812 kB / 0.5769 GB, free: 25.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.4901, allocations: 2.551 MB / 0.5794 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4901, allocations: 0 / 0.5794 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.4945, allocations: 1.585 MB / 0.581 GB, free: 22.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.4946, allocations: 126 kB / 0.5811 GB, free: 22.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.4947, allocations: 9.031 kB / 0.5811 GB, free: 22.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.4952, allocations: 35.02 kB / 0.5811 GB, free: 22.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.4954, allocations: 88.75 kB / 0.5812 GB, free: 22.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4955, allocations: 6.344 kB / 0.5812 GB, free: 22.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.4958, allocations: 290.9 kB / 0.5815 GB, free: 22.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4958, allocations: 0 / 0.5815 GB, free: 22.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.4964, allocations: 144.2 kB / 0.5817 GB, free: 22.63 MB / 414.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.0001868/0.4966, allocations: 115.5 kB / 0.5818 GB, free: 22.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.4994, allocations: 1.09 MB / 0.5828 GB, free: 21.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4994, allocations: 1.906 kB / 0.5828 GB, free: 21.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.5011, allocations: 0.7245 MB / 0.5835 GB, free: 21.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.5016, allocations: 39.09 kB / 0.5836 GB, free: 21.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.5032, allocations: 0.9915 MB / 0.5845 GB, free: 20.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5035, allocations: 0.8082 MB / 0.5853 GB, free: 20.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.5036, allocations: 31.53 kB / 0.5854 GB, free: 20.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5037, allocations: 29.97 kB / 0.5854 GB, free: 20.08 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5037, allocations: 5.125 kB / 0.5854 GB, free: 20.07 MB / 414.1 MB Notification: Performance of Templates: time 0.01414/0.5179, allocations: 7.983 MB / 0.5932 GB, free: 16.6 MB / 414.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)