Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.374/1.374, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001225/0.001225, allocations: 180.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4613/0.4613, allocations: 78.55 MB / 420.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004956, allocations: 12.22 kB / 0.4887 GB, free: 6.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1668, allocations: 69.36 MB / 0.5564 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2877/0.4545, allocations: 2.757 MB / 0.5591 GB, free: 38.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4564, allocations: 0.9463 MB / 0.56 GB, free: 38.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.4566, allocations: 2.469 kB / 0.56 GB, free: 38.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.4569, allocations: 79.22 kB / 0.5601 GB, free: 38.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.4573, allocations: 127.3 kB / 0.5602 GB, free: 38.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4583, allocations: 432.9 kB / 0.5606 GB, free: 38.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.4588, allocations: 486.2 kB / 0.5611 GB, free: 38.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.459, allocations: 77.95 kB / 0.5612 GB, free: 38.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.4593, allocations: 192.6 kB / 0.5613 GB, free: 38.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.4596, allocations: 256.2 kB / 0.5616 GB, free: 38.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.4597, allocations: 28.08 kB / 0.5616 GB, free: 38.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.4599, allocations: 75.22 kB / 0.5617 GB, free: 38.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.46, allocations: 85.78 kB / 0.5618 GB, free: 38.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.4601, allocations: 229.3 kB / 0.562 GB, free: 38.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.4606, allocations: 0.5351 MB / 0.5625 GB, free: 37.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4606, allocations: 0 / 0.5625 GB, free: 37.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4607, allocations: 3.938 kB / 0.5625 GB, free: 37.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4607, allocations: 0 / 0.5625 GB, free: 37.95 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.003041/0.4637, allocations: 1.066 MB / 0.5636 GB, free: 37.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4638, allocations: 9.891 kB / 0.5636 GB, free: 37.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.4654, allocations: 273.6 kB / 0.5638 GB, free: 37.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4659, allocations: 405.1 kB / 0.5642 GB, free: 37.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.466, allocations: 94.64 kB / 0.5643 GB, free: 37.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.4661, allocations: 26.97 kB / 0.5643 GB, free: 37.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.4669, allocations: 418.7 kB / 0.5647 GB, free: 37.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4669, allocations: 4.922 kB / 0.5647 GB, free: 37.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.467, allocations: 7.25 kB / 0.5647 GB, free: 37.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.467, allocations: 9.031 kB / 0.5648 GB, free: 37.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.4677, allocations: 418 kB / 0.5651 GB, free: 37.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4697, allocations: 1.129 MB / 0.5663 GB, free: 36.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/0.477, allocations: 1.847 MB / 0.5681 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.4776, allocations: 300.4 kB / 0.5683 GB, free: 36.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.4777, allocations: 4.531 kB / 0.5683 GB, free: 36.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4777, allocations: 36.91 kB / 0.5684 GB, free: 36.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 5.06e-06/0.4777, allocations: 0 / 0.5684 GB, free: 36.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006748/0.4845, allocations: 2.367 MB / 0.5707 GB, free: 36.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4845, allocations: 58 kB / 0.5707 GB, free: 36.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.4851, allocations: 403.3 kB / 0.5711 GB, free: 35.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.4851, allocations: 29.64 kB / 0.5712 GB, free: 35.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4852, allocations: 209.2 kB / 0.5714 GB, free: 35.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4854, allocations: 126.2 kB / 0.5715 GB, free: 35.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.4854, allocations: 33.66 kB / 0.5715 GB, free: 35.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.4855, allocations: 350.1 kB / 0.5718 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.486, allocations: 257.5 kB / 0.5721 GB, free: 35.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.4865, allocations: 257 kB / 0.5723 GB, free: 35.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4875, allocations: 0.5342 MB / 0.5729 GB, free: 35.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4875, allocations: 0 / 0.5729 GB, free: 35.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004303/0.4918, allocations: 1.532 MB / 0.5744 GB, free: 35.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4919, allocations: 5.531 kB / 0.5744 GB, free: 35.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4919, allocations: 0 / 0.5744 GB, free: 35.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.495, allocations: 0.8904 MB / 0.5752 GB, free: 35.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.4953, allocations: 40.47 kB / 0.5753 GB, free: 35.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.5006, allocations: 3.034 MB / 0.5782 GB, free: 33.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.5012, allocations: 62.89 kB / 0.5783 GB, free: 33.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.5012, allocations: 11.47 kB / 0.5783 GB, free: 33.73 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.5014, allocations: 152.5 kB / 0.5784 GB, free: 33.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.5015, allocations: 38.97 kB / 0.5785 GB, free: 33.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.5058, allocations: 1.454 MB / 0.5799 GB, free: 33.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.5058, allocations: 4.922 kB / 0.5799 GB, free: 33.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5058, allocations: 2.312 kB / 0.5799 GB, free: 33.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5058, allocations: 4.25 kB / 0.5799 GB, free: 33.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.5064, allocations: 0.5299 MB / 0.5804 GB, free: 33.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5064, allocations: 0 / 0.5804 GB, free: 33.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.5067, allocations: 38.17 kB / 0.5805 GB, free: 33.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.5092, allocations: 0.7546 MB / 0.5812 GB, free: 33.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.5093, allocations: 10.25 kB / 0.5812 GB, free: 33.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/0.5134, allocations: 2.523 MB / 0.5837 GB, free: 31.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5134, allocations: 3.938 kB / 0.5837 GB, free: 31.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/0.5184, allocations: 1.841 MB / 0.5855 GB, free: 31.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.5186, allocations: 126.4 kB / 0.5856 GB, free: 30.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.5187, allocations: 8.125 kB / 0.5856 GB, free: 30.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.5192, allocations: 46.7 kB / 0.5857 GB, free: 30.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.5195, allocations: 85.75 kB / 0.5857 GB, free: 30.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.5195, allocations: 9.766 kB / 0.5857 GB, free: 30.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.5199, allocations: 289.1 kB / 0.586 GB, free: 30.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5199, allocations: 0 / 0.586 GB, free: 30.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006212/0.5205, allocations: 143.6 kB / 0.5862 GB, free: 30.74 MB / 430.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.0001907/0.5207, allocations: 110.2 kB / 0.5863 GB, free: 30.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003007/0.5238, allocations: 1.186 MB / 0.5874 GB, free: 30.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5238, allocations: 5 kB / 0.5874 GB, free: 30.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.5257, allocations: 0.8148 MB / 0.5882 GB, free: 29.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.5261, allocations: 35.7 kB / 0.5883 GB, free: 29.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.5279, allocations: 1.051 MB / 0.5893 GB, free: 28.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5282, allocations: 0.8161 MB / 0.5901 GB, free: 28.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.5284, allocations: 34.7 kB / 0.5901 GB, free: 28.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.5285, allocations: 25.38 kB / 0.5901 GB, free: 28.18 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5285, allocations: 0 / 0.5901 GB, free: 28.18 MB / 430.1 MB Notification: Performance of Templates: time 0.01739/0.5459, allocations: 7.384 MB / 0.5973 GB, free: 27.85 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: