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.08153/0.08153, allocations: 12.6 MB / 28.9 MB, free: 0.6289 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.001299/0.001299, allocations: 111.5 kB / 32.51 MB, free: 3.562 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.406/1.406, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001519/0.001519, allocations: 188.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4443/0.4443, allocations: 78.51 MB / 420 MB, free: 11.2 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.004088/0.004088, allocations: 135.7 kB / 0.5565 GB, free: 28.47 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1116, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.004021/0.1156, allocations: 2.791 MB / 0.6258 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1174, allocations: 0.9513 MB / 0.6267 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1175, allocations: 4 kB / 0.6267 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.1178, allocations: 87.34 kB / 0.6268 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1181, allocations: 135 kB / 0.6269 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1191, allocations: 458.1 kB / 0.6273 GB, free: 11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.1196, allocations: 426.3 kB / 0.6277 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1198, allocations: 64.98 kB / 0.6278 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.12, allocations: 175.2 kB / 0.628 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.1203, allocations: 223 kB / 0.6282 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.1204, allocations: 32 kB / 0.6282 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1206, allocations: 95.91 kB / 0.6283 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.1206, allocations: 87.66 kB / 0.6284 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1208, allocations: 190.9 kB / 0.6286 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.1214, allocations: 498 kB / 0.6291 GB, free: 9.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1214, allocations: 0 / 0.6291 GB, free: 9.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1214, allocations: 0 / 0.6291 GB, free: 9.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1215, allocations: 0 / 0.6291 GB, free: 9.234 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.003283/0.1247, allocations: 1.028 MB / 0.6301 GB, free: 8.152 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1248, allocations: 11.98 kB / 0.6301 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.1265, allocations: 264.4 kB / 0.6303 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.127, allocations: 360.1 kB / 0.6307 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1271, allocations: 92.08 kB / 0.6308 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.1272, allocations: 16 kB / 0.6308 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/0.128, allocations: 368.8 kB / 0.6311 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1281, allocations: 0 / 0.6311 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.1281, allocations: 12 kB / 0.6311 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1281, allocations: 8 kB / 0.6311 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.1289, allocations: 362 kB / 0.6315 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.131, allocations: 1.018 MB / 0.6325 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007329/0.1383, allocations: 1.333 MB / 0.6338 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.1389, allocations: 232.8 kB / 0.634 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.1389, allocations: 4 kB / 0.634 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.139, allocations: 38.56 kB / 0.634 GB, free: 3.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.139, allocations: 0 / 0.634 GB, free: 3.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007443/0.1464, allocations: 1.975 MB / 0.636 GB, free: 1.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1465, allocations: 55.41 kB / 0.636 GB, free: 1.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1469, allocations: 320.5 kB / 0.6363 GB, free: 1.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.1469, allocations: 37.64 kB / 0.6364 GB, free: 1.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1471, allocations: 188.8 kB / 0.6365 GB, free: 1.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.1472, allocations: 111 kB / 0.6366 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1474, allocations: 57.97 kB / 0.6367 GB, free: 1.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1475, allocations: 342.8 kB / 0.637 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.1481, allocations: 224.4 kB / 0.6372 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.1486, allocations: 221 kB / 0.6375 GB, free: 328 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1497, allocations: 474.2 kB / 0.6379 GB, free: 15.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1497, allocations: 0 / 0.6379 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004612/0.1543, allocations: 1.249 MB / 0.6391 GB, free: 14.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1543, allocations: 4 kB / 0.6391 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1543, allocations: 0 / 0.6391 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.1577, allocations: 0.7633 MB / 0.6399 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.1579, allocations: 31.92 kB / 0.6399 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/0.1645, allocations: 3.126 MB / 0.643 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.165, allocations: 51.86 kB / 0.643 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.165, allocations: 8 kB / 0.643 GB, free: 10.45 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.0002176/0.1653, allocations: 152.2 kB / 0.6432 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.1653, allocations: 35.77 kB / 0.6432 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.1697, allocations: 1.21 MB / 0.6444 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.1697, allocations: 4 kB / 0.6444 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1697, allocations: 4 kB / 0.6444 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1697, allocations: 3.984 kB / 0.6444 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.1704, allocations: 0.5244 MB / 0.6449 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1704, allocations: 0 / 0.6449 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1707, allocations: 35.86 kB / 0.6449 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002859/0.1735, allocations: 0.6736 MB / 0.6456 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.1736, allocations: 8 kB / 0.6456 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.1787, allocations: 2.689 MB / 0.6482 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1787, allocations: 240 / 0.6482 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/0.1837, allocations: 1.567 MB / 0.6498 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1839, allocations: 124.9 kB / 0.6499 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.1839, allocations: 4 kB / 0.6499 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.1844, allocations: 31.97 kB / 0.6499 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.1846, allocations: 83.88 kB / 0.65 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.1846, allocations: 4 kB / 0.65 GB, free: 3.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002829/0.1849, allocations: 239 kB / 0.6502 GB, free: 2.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1849, allocations: 0 / 0.6502 GB, free: 2.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.1855, allocations: 139.9 kB / 0.6504 GB, free: 2.676 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.0001841/0.1856, allocations: 103.2 kB / 0.6505 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.1884, allocations: 0.9711 MB / 0.6514 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1884, allocations: 0 / 0.6514 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.1903, allocations: 0.6896 MB / 0.6521 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1907, allocations: 30.06 kB / 0.6521 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.1973, allocations: 1.099 MB / 0.6532 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.1978, allocations: 0.7912 MB / 0.654 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1979, allocations: 22.28 kB / 0.654 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.198, allocations: 23.44 kB / 0.654 GB, free: 14.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.198, allocations: 0 / 0.654 GB, free: 14.77 MB / 478.1 MB Notification: Performance of Templates: time 0.0155/0.2135, allocations: 8.209 MB / 0.662 GB, free: 6.566 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)