Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001488, allocations: 107.7 kB / 16.27 MB, free: 5.961 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.613 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.001489/0.001489, allocations: 195.5 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5469/0.5469, allocations: 91.9 MB / 432.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001752, allocations: 71.89 kB / 0.5025 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4307, allocations: 71.27 MB / 0.5721 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.004053/0.4348, allocations: 2.801 MB / 0.5749 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.4365, allocations: 0.8958 MB / 0.5757 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4366, allocations: 3.5 kB / 0.5757 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.437, allocations: 91.38 kB / 0.5758 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.4373, allocations: 117.1 kB / 0.5759 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.4381, allocations: 445.7 kB / 0.5764 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.4385, allocations: 423.6 kB / 0.5768 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.4387, allocations: 100 kB / 0.5769 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.4389, allocations: 170.8 kB / 0.577 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.4391, allocations: 225.9 kB / 0.5772 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.4392, allocations: 34.75 kB / 0.5773 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.4394, allocations: 86.75 kB / 0.5774 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.4394, allocations: 88.27 kB / 0.5774 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.4396, allocations: 186.2 kB / 0.5776 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.44, allocations: 0.489 MB / 0.5781 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.44, allocations: 0 / 0.5781 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.44, allocations: 1.188 kB / 0.5781 GB, free: 33.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.44, allocations: 2.625 kB / 0.5781 GB, free: 33.79 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.002781/0.4428, allocations: 1.023 MB / 0.5791 GB, free: 33.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4428, allocations: 8.344 kB / 0.5791 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.4444, allocations: 257.7 kB / 0.5794 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.4448, allocations: 351.2 kB / 0.5797 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.4449, allocations: 87.77 kB / 0.5798 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.445, allocations: 21.78 kB / 0.5798 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.4457, allocations: 366.4 kB / 0.5801 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4457, allocations: 1.594 kB / 0.5801 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.4457, allocations: 10.62 kB / 0.5802 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4458, allocations: 5.594 kB / 0.5802 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.4464, allocations: 363.9 kB / 0.5805 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.4482, allocations: 1.025 MB / 0.5815 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006662/0.4548, allocations: 1.37 MB / 0.5828 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.4555, allocations: 261.5 kB / 0.5831 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/0.4555, allocations: 9.797 kB / 0.5831 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.4556, allocations: 30.56 kB / 0.5831 GB, free: 31.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/0.4556, allocations: 0 / 0.5831 GB, free: 31.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006905/0.4625, allocations: 1.993 MB / 0.5851 GB, free: 30.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4625, allocations: 54.56 kB / 0.5851 GB, free: 30.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.463, allocations: 320.3 kB / 0.5854 GB, free: 30.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.463, allocations: 35.73 kB / 0.5855 GB, free: 30.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4631, allocations: 183 kB / 0.5856 GB, free: 30.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.4633, allocations: 109.5 kB / 0.5857 GB, free: 30.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.4634, allocations: 51.41 kB / 0.5858 GB, free: 30.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.4635, allocations: 351 kB / 0.5861 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.464, allocations: 219.2 kB / 0.5863 GB, free: 29.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.4644, allocations: 222.2 kB / 0.5866 GB, free: 29.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4654, allocations: 468 kB / 0.587 GB, free: 29.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4655, allocations: 7.375 kB / 0.587 GB, free: 29.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004188/0.4697, allocations: 1.248 MB / 0.5882 GB, free: 29.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4697, allocations: 4.656 kB / 0.5882 GB, free: 29.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4697, allocations: 1.125 kB / 0.5882 GB, free: 29.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.4729, allocations: 0.7591 MB / 0.589 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4731, allocations: 27.19 kB / 0.589 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.4786, allocations: 3.14 MB / 0.5921 GB, free: 27.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.4792, allocations: 50.64 kB / 0.5921 GB, free: 27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.4792, allocations: 13.41 kB / 0.5921 GB, free: 26.99 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.0001903/0.4794, allocations: 148.3 kB / 0.5923 GB, free: 26.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.4795, allocations: 36.56 kB / 0.5923 GB, free: 26.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.4836, allocations: 1.207 MB / 0.5935 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.4836, allocations: 2.906 kB / 0.5935 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.4836, allocations: 2.641 kB / 0.5935 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4836, allocations: 7.5 kB / 0.5935 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.4842, allocations: 0.5125 MB / 0.594 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4842, allocations: 0 / 0.594 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.4844, allocations: 44.17 kB / 0.594 GB, free: 26.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.4871, allocations: 0.6792 MB / 0.5947 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.4872, allocations: 6.094 kB / 0.5947 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/0.4916, allocations: 2.68 MB / 0.5973 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4916, allocations: 0 / 0.5973 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.4961, allocations: 1.583 MB / 0.5989 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.4963, allocations: 122.4 kB / 0.599 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4964, allocations: 5.219 kB / 0.599 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.4968, allocations: 32.94 kB / 0.599 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.4971, allocations: 85.2 kB / 0.5991 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.4971, allocations: 9.875 kB / 0.5991 GB, free: 23.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.4974, allocations: 228.6 kB / 0.5993 GB, free: 23.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4974, allocations: 0 / 0.5993 GB, free: 23.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005797/0.498, allocations: 145.7 kB / 0.5995 GB, free: 23.18 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.0001892/0.4982, allocations: 107 kB / 0.5996 GB, free: 23.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.5008, allocations: 1 MB / 0.6005 GB, free: 22.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5008, allocations: 4 kB / 0.6006 GB, free: 22.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.5026, allocations: 0.7061 MB / 0.6012 GB, free: 22.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.503, allocations: 33.27 kB / 0.6013 GB, free: 22.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.5096, allocations: 1.117 MB / 0.6024 GB, free: 21.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5099, allocations: 0.7914 MB / 0.6031 GB, free: 20.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.51, allocations: 27.27 kB / 0.6032 GB, free: 20.88 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.51, allocations: 0 / 0.6032 GB, free: 20.88 MB / 430.1 MB Notification: Performance of Templates: time 0.01431/0.5243, allocations: 9.447 MB / 0.6124 GB, free: 18.54 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)