Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json 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/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-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07835/0.07835, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.00111/0.00111, allocations: 107.4 kB / 31.84 MB, free: 3.898 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.381/1.381, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001275/0.001275, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.485/0.485, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.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.002537/0.002537, allocations: 146.5 kB / 0.5558 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1468, allocations: 68.13 MB / 0.6224 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003878/0.1508, allocations: 2.776 MB / 0.6251 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1524, allocations: 0.9474 MB / 0.626 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1525, allocations: 4 kB / 0.626 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1528, allocations: 91.33 kB / 0.6261 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1531, allocations: 139 kB / 0.6262 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009499/0.154, allocations: 450.2 kB / 0.6267 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.1545, allocations: 426.3 kB / 0.6271 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.1547, allocations: 92.98 kB / 0.6272 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1548, allocations: 167.3 kB / 0.6273 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.1551, allocations: 231 kB / 0.6275 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.1552, allocations: 32 kB / 0.6276 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1554, allocations: 91.91 kB / 0.6277 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.1555, allocations: 91.66 kB / 0.6277 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1556, allocations: 186.9 kB / 0.6279 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.1562, allocations: 494 kB / 0.6284 GB, free: 9.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1562, allocations: 4 kB / 0.6284 GB, free: 9.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.1562, allocations: 0 / 0.6284 GB, free: 9.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1562, allocations: 7.875 kB / 0.6284 GB, free: 9.262 MB / 446.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.002944/0.1591, allocations: 1.028 MB / 0.6294 GB, free: 8.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1592, allocations: 11.98 kB / 0.6294 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.1608, allocations: 260.4 kB / 0.6297 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.1613, allocations: 368 kB / 0.63 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.1614, allocations: 80.09 kB / 0.6301 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1615, allocations: 24 kB / 0.6301 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.1623, allocations: 364.7 kB / 0.6305 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1623, allocations: 4 kB / 0.6305 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1623, allocations: 8 kB / 0.6305 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1623, allocations: 12 kB / 0.6305 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.1631, allocations: 362 kB / 0.6308 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.165, allocations: 1.014 MB / 0.6318 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006569/0.1716, allocations: 1.371 MB / 0.6332 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.1721, allocations: 264.7 kB / 0.6334 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.1722, allocations: 4 kB / 0.6334 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1722, allocations: 30.56 kB / 0.6334 GB, free: 3.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.1722, allocations: 0 / 0.6334 GB, free: 3.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006688/0.1789, allocations: 1.983 MB / 0.6354 GB, free: 1.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.179, allocations: 55.41 kB / 0.6354 GB, free: 1.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.1794, allocations: 320.6 kB / 0.6357 GB, free: 1.469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1794, allocations: 29.7 kB / 0.6358 GB, free: 1.434 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1796, allocations: 192.7 kB / 0.636 GB, free: 1.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1797, allocations: 111 kB / 0.6361 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1798, allocations: 53.98 kB / 0.6361 GB, free: 1.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.18, allocations: 350.7 kB / 0.6364 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.1805, allocations: 216.5 kB / 0.6367 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1809, allocations: 221 kB / 0.6369 GB, free: 300 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.1819, allocations: 474.3 kB / 0.6373 GB, free: 15.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1819, allocations: 0 / 0.6373 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004583/0.1865, allocations: 1.256 MB / 0.6385 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.1865, allocations: 4 kB / 0.6385 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1865, allocations: 0 / 0.6385 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/0.1897, allocations: 0.7595 MB / 0.6393 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1899, allocations: 31.92 kB / 0.6393 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.196, allocations: 3.138 MB / 0.6424 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.1965, allocations: 47.88 kB / 0.6424 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.1966, allocations: 15.98 kB / 0.6424 GB, free: 10.4 MB / 462.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.0002598/0.1968, allocations: 144.4 kB / 0.6426 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.197, allocations: 35.77 kB / 0.6426 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.201, allocations: 1.218 MB / 0.6438 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.201, allocations: 4 kB / 0.6438 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.201, allocations: 0 / 0.6438 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2011, allocations: 4 kB / 0.6438 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.2017, allocations: 0.5242 MB / 0.6443 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2017, allocations: 0 / 0.6443 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2019, allocations: 35.92 kB / 0.6444 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.2045, allocations: 0.6736 MB / 0.645 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.2045, allocations: 8 kB / 0.645 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00465/0.2092, allocations: 2.689 MB / 0.6477 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2092, allocations: 0 / 0.6477 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.2136, allocations: 1.575 MB / 0.6492 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.2137, allocations: 116.8 kB / 0.6493 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.2138, allocations: 12.06 kB / 0.6493 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.2143, allocations: 31.95 kB / 0.6493 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.2145, allocations: 87.88 kB / 0.6494 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.2145, allocations: 8 kB / 0.6494 GB, free: 2.984 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.2148, allocations: 227.1 kB / 0.6496 GB, free: 2.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2148, allocations: 0 / 0.6496 GB, free: 2.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005436/0.2154, allocations: 143.9 kB / 0.6498 GB, free: 2.625 MB / 462.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.0001967/0.2156, allocations: 111.2 kB / 0.6499 GB, free: 2.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.218, allocations: 0.9868 MB / 0.6509 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.2181, allocations: 0 / 0.6509 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.2198, allocations: 0.713 MB / 0.6516 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.2202, allocations: 38.05 kB / 0.6516 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/0.227, allocations: 1.099 MB / 0.6527 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.2276, allocations: 0.7873 MB / 0.6534 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.2278, allocations: 18.3 kB / 0.6534 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2279, allocations: 23.44 kB / 0.6535 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.233e-06/0.2279, allocations: 0 / 0.6535 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Templates: time 0.01588/0.2438, allocations: 8.162 MB / 0.6614 GB, free: 6.512 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)