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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.00159, allocations: 182.4 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 102.2 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08216/0.08216, allocations: 12.6 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3115/0.3115, allocations: 78.52 MB / 457.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 106.2 kB / 0.5254 GB, free: 19.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1457, allocations: 68.13 MB / 0.592 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.0045/0.1503, allocations: 3.146 MB / 0.595 GB, free: 12.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1523, allocations: 1.007 MB / 0.596 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1525, allocations: 4 kB / 0.596 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1529, allocations: 79.52 kB / 0.5961 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.1533, allocations: 127.1 kB / 0.5962 GB, free: 11.26 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1544, allocations: 434.6 kB / 0.5966 GB, free: 10.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.155, allocations: 0.4942 MB / 0.5971 GB, free: 10.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1553, allocations: 81.66 kB / 0.5972 GB, free: 10.26 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.1556, allocations: 191.1 kB / 0.5974 GB, free: 10.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.156, allocations: 266.8 kB / 0.5976 GB, free: 9.809 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.1561, allocations: 24 kB / 0.5977 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1563, allocations: 75.98 kB / 0.5977 GB, free: 9.711 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.1564, allocations: 91.52 kB / 0.5978 GB, free: 9.621 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1566, allocations: 210.7 kB / 0.598 GB, free: 9.414 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1572, allocations: 0.5565 MB / 0.5986 GB, free: 8.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1572, allocations: 0 / 0.5986 GB, free: 8.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1572, allocations: 0 / 0.5986 GB, free: 8.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1572, allocations: 0 / 0.5986 GB, free: 8.855 MB / 394.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.00345/0.1607, allocations: 1.111 MB / 0.5997 GB, free: 7.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1608, allocations: 15.98 kB / 0.5997 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.1623, allocations: 272 kB / 0.5999 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.1628, allocations: 402.2 kB / 0.6003 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.163, allocations: 88.08 kB / 0.6004 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.163, allocations: 35.94 kB / 0.6004 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.1638, allocations: 396.7 kB / 0.6008 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1639, allocations: 0 / 0.6008 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.1639, allocations: 12 kB / 0.6008 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1639, allocations: 11.98 kB / 0.6008 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.1647, allocations: 382.1 kB / 0.6012 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1668, allocations: 1.099 MB / 0.6023 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007056/0.1739, allocations: 1.384 MB / 0.6036 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.1746, allocations: 276.7 kB / 0.6039 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-05/0.1746, allocations: 8 kB / 0.6039 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1747, allocations: 34.55 kB / 0.6039 GB, free: 3.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.865e-06/0.1747, allocations: 0 / 0.6039 GB, free: 3.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.006606/0.1813, allocations: 1.959 MB / 0.6058 GB, free: 1.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1814, allocations: 55.41 kB / 0.6059 GB, free: 1.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.1819, allocations: 401.6 kB / 0.6063 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.182, allocations: 33.7 kB / 0.6063 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1821, allocations: 208.6 kB / 0.6065 GB, free: 448 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1822, allocations: 126.1 kB / 0.6066 GB, free: 320 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1824, allocations: 54.03 kB / 0.6067 GB, free: 260 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1825, allocations: 354.8 kB / 0.607 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.183, allocations: 228.5 kB / 0.6072 GB, free: 15.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.1836, allocations: 225.2 kB / 0.6074 GB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.1846, allocations: 0.4943 MB / 0.6079 GB, free: 14.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1846, allocations: 0 / 0.6079 GB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004051/0.1886, allocations: 1.272 MB / 0.6092 GB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1887, allocations: 4 kB / 0.6092 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1887, allocations: 4 kB / 0.6092 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002988/0.1917, allocations: 0.7634 MB / 0.6099 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1919, allocations: 39.92 kB / 0.61 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/0.1977, allocations: 2.854 MB / 0.6127 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.1982, allocations: 43.72 kB / 0.6128 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.1983, allocations: 12 kB / 0.6128 GB, free: 9.809 MB / 410.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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.1985, allocations: 153.8 kB / 0.6129 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.1986, allocations: 35.53 kB / 0.613 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.2025, allocations: 1.222 MB / 0.6142 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.2025, allocations: 8 kB / 0.6142 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2025, allocations: 0 / 0.6142 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.2025, allocations: 4 kB / 0.6142 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.2032, allocations: 0.5359 MB / 0.6147 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2032, allocations: 0 / 0.6147 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.2035, allocations: 35.92 kB / 0.6147 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.2058, allocations: 0.6307 MB / 0.6154 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.2058, allocations: 8 kB / 0.6154 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.2099, allocations: 2.344 MB / 0.6177 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2099, allocations: 3.938 kB / 0.6177 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/0.2279, allocations: 7.664 MB / 0.6251 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2281, allocations: 124.7 kB / 0.6253 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.2281, allocations: 19.98 kB / 0.6253 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.2286, allocations: 31.95 kB / 0.6253 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.2289, allocations: 87.78 kB / 0.6254 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.2289, allocations: 8 kB / 0.6254 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003274/0.2293, allocations: 295.1 kB / 0.6257 GB, free: 12.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2293, allocations: 0 / 0.6257 GB, free: 12.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006498/0.2299, allocations: 183.8 kB / 0.6259 GB, free: 11.91 MB / 426.7 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.0001972/0.2302, allocations: 111.6 kB / 0.626 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.233, allocations: 1.076 MB / 0.627 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.233, allocations: 0 / 0.627 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.2347, allocations: 0.7247 MB / 0.6277 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.2352, allocations: 40.31 kB / 0.6278 GB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.2377, allocations: 1.446 MB / 0.6292 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.2381, allocations: 0.8195 MB / 0.63 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.2382, allocations: 34.95 kB / 0.63 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2384, allocations: 27.44 kB / 0.63 GB, free: 7.434 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2384, allocations: 0 / 0.63 GB, free: 7.434 MB / 426.7 MB Notification: Performance of Templates: time 0.2286/0.467, allocations: 9.714 MB / 0.6395 GB, free: 52.23 MB / 426.7 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)