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/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.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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08481/0.08481, allocations: 12.6 MB / 28.9 MB, free: 396 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 111.5 kB / 32.51 MB, free: 3.391 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.411/1.411, allocations: 205.1 MB / 241.1 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.002033/0.002034, allocations: 184.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.4297/0.4297, allocations: 78.52 MB / 420 MB, free: 11.24 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.002617/0.002617, allocations: 134.7 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1381, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004505/0.1426, allocations: 2.987 MB / 0.6259 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1448, allocations: 0.9986 MB / 0.6269 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.1452, allocations: 4 kB / 0.6269 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.1457, allocations: 95.27 kB / 0.627 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.1463, allocations: 146.9 kB / 0.6272 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1476, allocations: 470.2 kB / 0.6276 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007664/0.1484, allocations: 0.5098 MB / 0.6281 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.1486, allocations: 96.92 kB / 0.6282 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.149, allocations: 211.1 kB / 0.6284 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.1495, allocations: 278.8 kB / 0.6287 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.1496, allocations: 44 kB / 0.6287 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.1499, allocations: 104 kB / 0.6288 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.15, allocations: 107.5 kB / 0.6289 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.1503, allocations: 226.7 kB / 0.6291 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.151, allocations: 0.5644 MB / 0.6297 GB, free: 8.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.151, allocations: 0 / 0.6297 GB, free: 8.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.151, allocations: 0 / 0.6297 GB, free: 8.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.1511, allocations: 4 kB / 0.6297 GB, free: 8.59 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003748/0.1548, allocations: 1.118 MB / 0.6308 GB, free: 7.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1549, allocations: 11.98 kB / 0.6308 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.1566, allocations: 268 kB / 0.631 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.1573, allocations: 398.2 kB / 0.6314 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1574, allocations: 92.09 kB / 0.6315 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.1575, allocations: 31.98 kB / 0.6315 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008913/0.1584, allocations: 396.7 kB / 0.6319 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1584, allocations: 0 / 0.6319 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.1585, allocations: 8 kB / 0.6319 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1585, allocations: 8 kB / 0.6319 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008043/0.1593, allocations: 394 kB / 0.6323 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1614, allocations: 1.088 MB / 0.6334 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006673/0.1681, allocations: 1.381 MB / 0.6347 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.1688, allocations: 280.7 kB / 0.635 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.1689, allocations: 7.938 kB / 0.635 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1689, allocations: 34.56 kB / 0.635 GB, free: 2.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.106e-06/0.1689, allocations: 0 / 0.635 GB, free: 2.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006618/0.1755, allocations: 1.963 MB / 0.6369 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1756, allocations: 55.41 kB / 0.637 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.1762, allocations: 397.6 kB / 0.6374 GB, free: 436 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.1763, allocations: 33.7 kB / 0.6374 GB, free: 396 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1765, allocations: 208.5 kB / 0.6376 GB, free: 184 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.1766, allocations: 122.2 kB / 0.6377 GB, free: 60 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1768, allocations: 62.03 kB / 0.6378 GB, free: 15.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.177, allocations: 350.8 kB / 0.6381 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.1775, allocations: 224.5 kB / 0.6383 GB, free: 15.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.178, allocations: 237.2 kB / 0.6385 GB, free: 15.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.179, allocations: 494.8 kB / 0.639 GB, free: 14.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1791, allocations: 0 / 0.639 GB, free: 14.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004143/0.1832, allocations: 1.279 MB / 0.6403 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1833, allocations: 11.94 kB / 0.6403 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1833, allocations: 0 / 0.6403 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.1863, allocations: 0.7595 MB / 0.641 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1865, allocations: 39.92 kB / 0.6411 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006375/0.1929, allocations: 3.101 MB / 0.6441 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.1935, allocations: 47.75 kB / 0.6441 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.1936, allocations: 8 kB / 0.6441 GB, free: 9.289 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 (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.0002621/0.1938, allocations: 161.6 kB / 0.6443 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.194, allocations: 43.44 kB / 0.6443 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.1978, allocations: 1.214 MB / 0.6455 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1979, allocations: 4 kB / 0.6455 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1979, allocations: 4 kB / 0.6455 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1979, allocations: 7.938 kB / 0.6455 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.1986, allocations: 0.5243 MB / 0.646 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1986, allocations: 0 / 0.646 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.1989, allocations: 39.91 kB / 0.6461 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.2011, allocations: 0.627 MB / 0.6467 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.2012, allocations: 8 kB / 0.6467 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/0.2056, allocations: 2.552 MB / 0.6492 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2057, allocations: 4 kB / 0.6492 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/0.2101, allocations: 1.582 MB / 0.6507 GB, free: 2.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.2103, allocations: 128.5 kB / 0.6509 GB, free: 2.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.2104, allocations: 7.938 kB / 0.6509 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.2109, allocations: 31.97 kB / 0.6509 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.2111, allocations: 91.84 kB / 0.651 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.2112, allocations: 12 kB / 0.651 GB, free: 1.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.2115, allocations: 299.1 kB / 0.6513 GB, free: 1.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2115, allocations: 0 / 0.6513 GB, free: 1.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000571/0.2121, allocations: 139.8 kB / 0.6514 GB, free: 1.551 MB / 462.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.0001989/0.2123, allocations: 103.2 kB / 0.6515 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.2152, allocations: 1.084 MB / 0.6526 GB, free: 308 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2153, allocations: 3.938 kB / 0.6526 GB, free: 304 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.217, allocations: 0.717 MB / 0.6533 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.2175, allocations: 40.81 kB / 0.6533 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.2193, allocations: 0.884 MB / 0.6542 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.2197, allocations: 0.8072 MB / 0.655 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.2198, allocations: 31.44 kB / 0.655 GB, free: 13.71 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2198, allocations: 0 / 0.655 GB, free: 13.71 MB / 478.1 MB Notification: Performance of Templates: time 0.01404/0.2339, allocations: 10.52 MB / 0.6653 GB, free: 3.172 MB / 478.1 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)